mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
Merge pull request #3570 from Mloc/clampfix
further checks against mobs being loaded by hydraulic clamps.
This commit is contained in:
@@ -21,6 +21,9 @@
|
||||
if(!action_checks(target)) return
|
||||
if(!cargo_holder) return
|
||||
if(istype(target, /obj/structure/stool)) return
|
||||
for(var/M in target.contents)
|
||||
if(istype(M, /mob/living)
|
||||
return
|
||||
|
||||
if(istype(target,/obj))
|
||||
var/obj/O = target
|
||||
|
||||
Reference in New Issue
Block a user