Fixes a bug that prevents killing AIs before roundstart

This commit is contained in:
Tenebrosity
2014-01-13 12:35:30 +13:00
committed by Jesus Hussein Chris
parent 986aa80bb3
commit 7b89ef11f4
+2 -2
View File
@@ -105,8 +105,8 @@ datum/shuttle_controller
callshuttle = 0 //if there's an alive AI or a communication console on the station z level, we don't call the shuttle
break
if(ticker.mode.name == "revolution" || ticker.mode.name == "AI malfunction")
callshuttle = 0
if(ticker && ticker.mode && (ticker.mode.name == "revolution" || ticker.mode.name == "AI malfunction"))
callshuttle = 0
if(callshuttle)
if(!online && direction == 1) //we don't call the shuttle if it's already coming