mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 06:07:22 +01:00
Fix Runtime in floor_attackby.dm,118: Cannot execute 0.is crowbar().
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user