mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
9 lines
328 B
Plaintext
9 lines
328 B
Plaintext
GLOBAL_VAR_INIT(roundend_mapvote_called, FALSE)
|
|
|
|
/obj/docking_port/mobile/emergency/check()
|
|
. = ..()
|
|
if(mode == SHUTTLE_CALL && !SSshuttle.can_recall() && !GLOB.roundend_mapvote_called)
|
|
var/datum/vote/current_vote = SSvote.current_vote
|
|
if(!istype(current_vote, /datum/vote/map_vote))
|
|
SSsecurity_level.offset_map_vote()
|