mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Probably fix the map vote having a huge delay.
This commit is contained in:
@@ -303,6 +303,13 @@ datum/shuttle_controller/emergency_shuttle/process()
|
||||
|
||||
captain_announce("The Emergency Shuttle has left the station. Estimate [round(timeleft()/60,1)] minutes until the shuttle docks at Central Command.")
|
||||
|
||||
// "preload" the assets for when they're needed for the map vote.
|
||||
if(config.map_voting && vote)
|
||||
for(var/client/C in clients)
|
||||
spawn
|
||||
vote.interface.sendAssets(C)
|
||||
|
||||
|
||||
return 1
|
||||
|
||||
else
|
||||
@@ -355,3 +362,4 @@ datum/shuttle_controller/emergency_shuttle/process()
|
||||
S.direction = spawndir
|
||||
spawn()
|
||||
S.startmove()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user