fix for "cleaning light"

Signed-off-by: Mloc <colmohici@gmail.com>
This commit is contained in:
Mloc
2015-05-14 18:03:18 +01:00
parent ad67215b08
commit d95701a7b5
2 changed files with 3 additions and 1 deletions

View File

@@ -149,7 +149,7 @@
if(!dist)
dist = 1
R.reaction_mob(A, volume = R.volume / dist)
else if(istype(A, /obj))
else if(istype(A, /obj) && !A.simulated)
R.reaction_obj(A, R.volume)
sleep(30)

View File

@@ -435,6 +435,8 @@ var/const/INGEST = 2
return 0
/datum/reagents/proc/reaction(var/atom/A, var/method=TOUCH, var/volume_modifier=0)
if(!istype(A) || !A.simulated)
return
switch(method)
if(TOUCH)