mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user