Fixes map votes not happening when the ALLOW_MAP_VOTING config flag was disabled (#67394)

Fixes map votes not happening when allow map voting was disabled by config
This commit is contained in:
GoldenAlpharex
2022-05-30 15:05:59 -04:00
committed by GitHub
parent ba14b55028
commit 0a4a5d2afd
+1 -1
View File
@@ -392,7 +392,7 @@ GLOBAL_LIST_EMPTY(the_station_areas)
if(SSvote.current_vote) //Theres already a vote running, default to rotation.
maprotate()
return
SSvote.initiate_vote(/datum/vote/map_vote, "automatic map rotation")
SSvote.initiate_vote(/datum/vote/map_vote, "automatic map rotation", forced = TRUE)
/datum/controller/subsystem/mapping/proc/changemap(datum/map_config/change_to)
if(!change_to.MakeNextMap())