mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix post-results "last turn" save.
This commit is contained in:
parent
9cb641bddf
commit
4b542b70ae
@ -332,7 +332,11 @@ class Game:
|
||||
from .server import EventStream
|
||||
from .sim import GameUpdateEvents
|
||||
|
||||
persistency.save_last_turn_state(self)
|
||||
if no_action:
|
||||
# Only save the last turn state if the turn was skipped. Otherwise, we'll
|
||||
# end up saving the game after we've already applied the results, making
|
||||
# this useless...
|
||||
persistency.save_last_turn_state(self)
|
||||
|
||||
events = GameUpdateEvents()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user