From c45dab8ebd33e9c96ef6ee6db113802f1abdbc8f Mon Sep 17 00:00:00 2001 From: Putnam Date: Fri, 7 Feb 2020 20:37:22 -0800 Subject: [PATCH] uhh? --- code/controllers/subsystem/ticker.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/controllers/subsystem/ticker.dm b/code/controllers/subsystem/ticker.dm index 998ae835a7..748cdc1dbd 100755 --- a/code/controllers/subsystem/ticker.dm +++ b/code/controllers/subsystem/ticker.dm @@ -477,7 +477,8 @@ SUBSYSTEM_DEF(ticker) if(CONFIG_GET(flag/tgstyle_maprotation)) INVOKE_ASYNC(SSmapping, /datum/controller/subsystem/mapping/.proc/maprotate) else - switch(CONFIG_GET(string/map_vote_type)) + var/vote_type = CONFIG_GET(string/map_vote_type) + switch(vote_type) if("PLURALITY") SSvote.initiate_vote("map","server",hideresults=TRUE) if("APPROVAL")