Persistent data saves at round end instead of server restart (#21199)

* sm counter go up

* AA review

* aa review 2
This commit is contained in:
Contrabang
2023-06-17 05:55:24 -04:00
committed by GitHub
parent 33a97a4c95
commit cd3c1c4919
2 changed files with 13 additions and 0 deletions
+3
View File
@@ -596,6 +596,9 @@ SUBSYSTEM_DEF(ticker)
//Ask the event manager to print round end information
SSevents.RoundEnd()
// Save the data before end of the round griefing
SSpersistent_data.save()
//make big obvious note in game logs that round ended
log_game("///////////////////////////////////////////////////////")
log_game("///////////////////// ROUND ENDED /////////////////////")