mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Merge pull request #1046 from ZomgPonies/master
Adds checks for lighting overlays to Entered()
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
return
|
||||
|
||||
var/atom/movable/M = atom
|
||||
|
||||
if(!M.simulated) return
|
||||
var/loopsanity = 100
|
||||
if(ismob(M))
|
||||
if(!M:lastarea)
|
||||
@@ -137,6 +137,7 @@
|
||||
..()
|
||||
var/objects = 0
|
||||
for(var/atom/A as mob|obj|turf|area in range(1))
|
||||
if(!A.simulated) return
|
||||
if(objects > loopsanity) break
|
||||
objects++
|
||||
spawn( 0 )
|
||||
|
||||
Reference in New Issue
Block a user