Probably fix the map vote having a huge delay.

This commit is contained in:
PJB3005
2016-02-18 19:04:14 +01:00
parent 2d9b868dcf
commit ffadb44374
2 changed files with 15 additions and 1 deletions

View File

@@ -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()