Actually fixes the runtime this time.

This commit is contained in:
phil235
2014-11-13 19:22:22 +01:00
parent a2f23f2cef
commit a73d22f2ed
+12 -8
View File
@@ -365,8 +365,9 @@ steam.start() -- spawns the effect
if (M.coughedtime != 1)
M.coughedtime = 1
M.emote("cough")
sleep(20)
M.coughedtime = 0
spawn(20)
if(M.loc)
M.coughedtime = 0
return
@@ -389,8 +390,9 @@ steam.start() -- spawns the effect
if (M.coughedtime != 1)
M.coughedtime = 1
M.emote("cough")
sleep(20)
M.coughedtime = 0
spawn(20)
if(M.loc)
M.coughedtime = 0
return
/datum/effect/effect/system/bad_smoke_spread
@@ -602,8 +604,9 @@ steam.start() -- spawns the effect
if (M.coughedtime != 1)
M.coughedtime = 1
M.emote("cough")
sleep(20)
M.coughedtime = 0
spawn(20)
if(M.loc)
M.coughedtime = 0
return
/obj/effect/effect/sleep_smoke/Crossed(mob/living/carbon/M as mob )
@@ -618,8 +621,9 @@ steam.start() -- spawns the effect
if (M.coughedtime != 1)
M.coughedtime = 1
M.emote("cough")
sleep(20)
M.coughedtime = 0
spawn(20)
if(M.loc)
M.coughedtime = 0
return
/datum/effect/effect/system/sleep_smoke_spread