[MIRROR] Fixes crew transfer votes not starting (#9157)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-04 15:26:57 -07:00
committed by GitHub
parent dd40869551
commit 18e8928f96
3 changed files with 5 additions and 3 deletions

View File

@@ -26,6 +26,6 @@ var/datum/controller/transfer_controller/transfer_controller
shift_hard_end = timerbuffer + CONFIG_GET(number/vote_autotransfer_interval) //If shuttle somehow gets recalled, let's force it to call again next time a vote would occur. // CHOMPEdit
timerbuffer = timerbuffer + CONFIG_GET(number/vote_autotransfer_interval) //Just to make sure a vote doesn't occur immediately afterwords. // CHOMPEdit
else if (round_duration_in_ds >= timerbuffer - 1 MINUTE)
new /datum/vote/crew_transfer
SSvote.start_vote(new /datum/vote/crew_transfer)
//VOREStation Edit END
timerbuffer = timerbuffer + CONFIG_GET(number/vote_autotransfer_interval) // CHOMPEdit

View File

@@ -229,7 +229,7 @@ var/global/datum/controller/subsystem/ticker/ticker
mode.cleanup()
//call a transfer shuttle vote
to_world(span_danger("The round has ended!"))
new /datum/vote/crew_transfer
SSvote.start_vote(new /datum/vote/crew_transfer)
to_world("<span class='danger'>The round has ended!</span>")
// Called during GAME_STATE_FINISHED (RUNLEVEL_POSTGAME)