Adds a simulated check to chempuffs

This commit is contained in:
Kelenius
2015-06-05 19:20:46 +03:00
parent 2ba5fd6af2
commit 345cd7a738
+2 -2
View File
@@ -25,9 +25,9 @@
reagents.touch_turf(T)
var/mob/M
for(var/atom/A in T)
if(!ismob(A)) // Mobs are handled differently
if(!ismob(A) && A.simulated) // Mobs are handled differently
reagents.touch(A)
else if(!M)
else if(ismob(A) && !M)
M = A
if(M)
reagents.splash_mob(M, reagents.total_volume)