mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
Refactors SSTicker checks (#28469)
* SSTicker check update * Wilk first pass
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user