mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
Round start/end delay fixes (#18479)
* Round start/end delay fixes * . * . * tgfont * fix these names * Fixes this from firing if we're delayed * Only say we're rebooting when we actually are * move this --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Kashargul
Cameron Lennox
parent
370082b209
commit
c0daf254e8
@@ -1018,7 +1018,9 @@ var/datum/announcement/minor/admin_min_announcer = new
|
||||
|
||||
if(!check_rights(R_SERVER|R_EVENT)) return
|
||||
if (SSticker.current_state >= GAME_STATE_PLAYING)
|
||||
SSticker.delay_end = !SSticker.delay_end
|
||||
// Tell the ticker to delay/resume
|
||||
SSticker.toggle_delay()
|
||||
|
||||
log_admin("[key_name(usr)] [SSticker.delay_end ? "delayed the round end" : "has made the round end normally"].")
|
||||
message_admins(span_blue("[key_name(usr)] [SSticker.delay_end ? "delayed the round end" : "has made the round end normally"]."), 1)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user