Commit ae4f051
committed
Discard old server commands upon new gamestate
Fixes Unvanquished/Unvanquished#1102.
This fixes a bug where the configstring state could be wrong due to `cs`
server commands being executed out of order with respect to game state
processing. Server commands are only processed when the cgame requests a
snapshot, so commands received before the client loads the current map
which were sent before the gamestate could be processed after the
gamestate.1 parent 6bf8baa commit ae4f051
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
412 | 415 | | |
413 | 416 | | |
414 | 417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| 357 | + | |
357 | 358 | | |
358 | 359 | | |
359 | 360 | | |
| |||
0 commit comments