mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 11:58:39 +01:00
Fix Set Odyssey (#21914)
This PR fixes the Set Odyssey verb to work after server initialization, but before the round has actually started. It can actually be run even before the round type has been voted for. I have actually tested this PR and verified that it works.
This commit is contained in:
@@ -1399,11 +1399,14 @@ var/global/enabled_spooking = 0
|
||||
/datum/admins/proc/set_odyssey()
|
||||
set name = "Set Odyssey Type"
|
||||
set category = "Special Verbs"
|
||||
if (!SSodyssey.initialized)
|
||||
to_chat(usr, SPAN_WARNING("You must wait for the server to finish initializing."))
|
||||
return
|
||||
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
|
||||
if(SSticker.current_state != GAME_STATE_SETTING_UP)
|
||||
if(SSticker.current_state > GAME_STATE_SETTING_UP)
|
||||
to_chat(usr, SPAN_WARNING("You need to use this verb while the game is still setting up!"))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user