Merge pull request #15254 from Putnam3145/dynamic-better-extended

Dynamic extended: antags allowed, but only later
This commit is contained in:
silicons
2021-10-27 05:15:22 -07:00
committed by GitHub
2 changed files with 48 additions and 16 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ SUBSYSTEM_DEF(vote)
return message_admins("A vote has tried to change the gamemode, but the game has already started. Aborting.")
GLOB.master_mode = "dynamic"
if(. == "extended")
GLOB.dynamic_forced_extended = TRUE
GLOB.dynamic_extended = TRUE
message_admins("The gamemode has been voted for, and has been changed to: [GLOB.master_mode]")
log_admin("Gamemode has been voted for and switched to: [GLOB.master_mode].")
if("restart")