Merge pull request #14395 from MrStonedOne/nomoreminus1

Removes a bunch of sleep(-1) and spawn(-1) from the code
This commit is contained in:
duncathan salt
2016-01-05 22:16:17 -06:00
10 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
//world << "Events in [args[1]] called"
var/list/event = listgetindex(events,args[1])
if(istype(event))
spawn(-1)
spawn(0)
for(var/datum/event/E in event)
if(!E.Fire(arglist(args.Copy(2))))
clearEvent(args[1],E)
+2 -2
View File
@@ -82,12 +82,12 @@
/datum/teleport/proc/playSpecials(atom/location,datum/effect_system/effect,sound)
if(location)
if(effect)
spawn(-1)
spawn(0)
src = null
effect.attach(location)
effect.start()
if(sound)
spawn(-1)
spawn(0)
src = null
playsound(location,sound,60,1)
return