mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-19 20:23:07 +01:00
[MIRROR] add more whitelist checks (#12038)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f28d8b9b1b
commit
03abe9a4d4
@@ -1016,7 +1016,7 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
set desc="Delay the game start/end"
|
||||
set name="Delay"
|
||||
|
||||
if(!check_rights(R_SERVER|R_EVENT)) return
|
||||
if(!check_rights(R_SERVER|R_EVENT|R_ADMIN|R_MOD)) return
|
||||
if (SSticker.current_state >= GAME_STATE_PLAYING)
|
||||
// Tell the ticker to delay/resume
|
||||
SSticker.toggle_delay()
|
||||
|
||||
Reference in New Issue
Block a user