Reduces Blob's Lag

This commit is contained in:
Fox-McCloud
2015-07-19 09:56:38 -04:00
parent b858350c12
commit 4bae3f073b
4 changed files with 0 additions and 25 deletions

View File

@@ -11,18 +11,11 @@
if(health <= 0)
qdel(src)
/obj/effect/blob/resource/PulseAnimation(var/activate = 0)
if(activate)
..()
return
/obj/effect/blob/resource/run_action()
if(resource_delay > world.time)
return 0
PulseAnimation(1)
resource_delay = world.time + 40 // 4 seconds
if(overmind)