mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 21:27:01 +01:00
[MIRROR] Round start/end delay fixes (#11888)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> 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
Selis
Kashargul
Cameron Lennox
parent
c302f461b1
commit
966478a3ff
@@ -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