mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 12:05:28 +01:00
Adds a simulated check to chempuffs
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user