Fix Runtime in floor_attackby.dm,118: Cannot execute 0.is crowbar().

This commit is contained in:
Leshana
2020-04-14 17:03:21 -04:00
parent 879a9fe5b5
commit efb913ecb4
+2 -2
View File
@@ -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)