mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Turf check
This commit is contained in:
@@ -106,6 +106,8 @@
|
||||
/obj/machinery/disposal/proc/stuff_mob_in(mob/living/target, mob/living/user)
|
||||
if(!iscarbon(user) && !user.ventcrawler) //only carbon and ventcrawlers can climb into disposal by themselves.
|
||||
return
|
||||
if(!istype(user.loc, /turf/)) //No magically doing it from inside closets
|
||||
return
|
||||
if(target.buckled || target.buckled_mob)
|
||||
return
|
||||
if(target.mob_size > MOB_SIZE_HUMAN)
|
||||
|
||||
Reference in New Issue
Block a user