World > SSticker

This commit is contained in:
LetterJay
2017-05-22 12:31:05 -05:00
parent 2be5022536
commit e0f65beb37
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ SUBSYSTEM_DEF(vote)
if(SSticker && SSticker.mode)//Don't change the mode if the round already started. if(SSticker && SSticker.mode)//Don't change the mode if the round already started.
return message_admins("A vote has tried to change the gamemode, but the game has already started. Aborting.") return message_admins("A vote has tried to change the gamemode, but the game has already started. Aborting.")
GLOB.master_mode = . GLOB.master_mode = .
world.save_mode(.) SSticker.save_mode(.)
to_chat(world, "<span class='adminnotice'><b>The mode is now: [GLOB.master_mode]</b></span>") to_chat(world, "<span class='adminnotice'><b>The mode is now: [GLOB.master_mode]</b></span>")
log_admin("Gamemode has been voted for and switched to: [GLOB.master_mode].") log_admin("Gamemode has been voted for and switched to: [GLOB.master_mode].")
if("gamemode") if("gamemode")
+1 -1
View File
@@ -32,7 +32,7 @@
load_motd() load_motd()
load_admins() load_admins()
load_mentors() // load_mentors()
load_menu() load_menu()
if(config.usewhitelist) if(config.usewhitelist)
load_whitelist() load_whitelist()