diff --git a/code/game/turfs/simulated/floor_attackby.dm b/code/game/turfs/simulated/floor_attackby.dm index f3368b5115a..70bc2646a20 100644 --- a/code/game/turfs/simulated/floor_attackby.dm +++ b/code/game/turfs/simulated/floor_attackby.dm @@ -152,10 +152,10 @@ if(T.type == flooring.build_type) return var/obj/item/weapon/W = user.is_holding_item_of_type(/obj/item/weapon) + if(!istype(W)) + return if(!try_deconstruct_tile(W, user)) return if(flooring) return - if(!istype(W)) - return attackby(T, user) \ No newline at end of file