Refactors SSTicker checks (#28469)

* SSTicker check update

* Wilk first pass
This commit is contained in:
Silverplate
2025-03-01 03:29:36 +00:00
committed by GitHub
parent 5303115e4a
commit eb1d866fa7
23 changed files with 39 additions and 38 deletions
+2 -2
View File
@@ -516,7 +516,7 @@ GLOBAL_VAR_INIT(disable_explosions, FALSE)
if(!check_rights(R_SERVER))
return
if(!SSticker)
if(SSticker.current_state < GAME_STATE_PREGAME)
alert("Unable to start the game as it is not set up.")
return
@@ -604,7 +604,7 @@ GLOBAL_VAR_INIT(disable_explosions, FALSE)
if(!check_rights(R_SERVER))
return
if(!SSticker)
if(SSticker.current_state < GAME_STATE_STARTUP)
alert("Slow down a moment, let the ticker start first!")
return