World > SSticker
This commit is contained in:
@@ -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
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user