From 0380e43f3392407d7f878e23a925a0d1c7c6f52a Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 15 Oct 2017 17:01:29 -0200 Subject: [PATCH] Merge pull request #31698 from duncathan/atmos-patch7 Prevents tiles from being placed on top of buckled mobs --- code/game/turfs/simulated/floor/plating.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/turfs/simulated/floor/plating.dm b/code/game/turfs/simulated/floor/plating.dm index 3e16da8b9f..938533bd55 100644 --- a/code/game/turfs/simulated/floor/plating.dm +++ b/code/game/turfs/simulated/floor/plating.dm @@ -55,6 +55,11 @@ return else if(istype(C, /obj/item/stack/tile)) if(!broken && !burnt) + for(var/obj/O in src) + if(O.level == 1) //ex. pipes laid underneath a tile + for(var/M in O.buckled_mobs) + to_chat(user, "Someone is buckled to \the [O]! Unbuckle [M] to move \him out of the way.") + return var/obj/item/stack/tile/W = C if(!W.use(1)) return