Changes a lot of ticker and ticker.mode checks to SSticker.hasRoundStarted

This commit is contained in:
CitadelStationBot
2017-05-01 07:24:45 -05:00
parent fc9e2a46d6
commit 7a4f1496e9
18 changed files with 45 additions and 31 deletions
-2
View File
@@ -1283,8 +1283,6 @@
if(!density)
return 1
if(!SSticker || !SSticker.mode)
return 0
operating = 1
update_icon(AIRLOCK_OPENING, 1)
src.set_opacity(0)
-2
View File
@@ -229,8 +229,6 @@
return 1
if(operating)
return
if(!SSticker || !SSticker.mode)
return 0
operating = 1
do_animate("opening")
set_opacity(0)
-2
View File
@@ -129,8 +129,6 @@
/obj/machinery/door/window/open(forced=0)
if (src.operating == 1) //doors can still open when emag-disabled
return 0
if(!SSticker || !SSticker.mode)
return 0
if(!forced)
if(!hasPower())
return 0