Runtime fixes.

This commit is contained in:
Zuhayr
2015-12-02 09:29:31 +10:30
committed by Neerti
parent 622fb93a3e
commit 1a0eecd09a
2 changed files with 2 additions and 5 deletions

View File

@@ -140,7 +140,7 @@ var/const/enterloopsanity = 100
..() ..()
var/objects = 0 var/objects = 0
if(A && (A.flags & PROXMOVE)) if(A && (A.flags & PROXMOVE))
for(var/atom/thing as mob|obj|turf|area in range(1)) for(var/atom/movable/thing in range(1))
if(objects > enterloopsanity) break if(objects > enterloopsanity) break
objects++ objects++
spawn(0) spawn(0)

View File

@@ -187,13 +187,10 @@
return return
/obj/effect/beam/i_beam/process() /obj/effect/beam/i_beam/process()
//world << "i_beam \ref[src] : process"
if((loc.density || !(master))) if((loc && loc.density) || !master)
// world << "beam hit loc [loc] or no master [master], deleting"
qdel(src) qdel(src)
return return
//world << "proccess: [src.left] left"
if(left > 0) if(left > 0)
left-- left--