Fix activating with no metal.

This commit is contained in:
Den
2015-04-16 20:15:40 +02:00
parent 737b4fc08e
commit 6f77a98bc3

View File

@@ -29,6 +29,9 @@
old_dir = turn(M_Dir,180)
/obj/machinery/pipelayer/attack_hand(mob/user as mob)
if(!metal)
user << "\The [src] don't work with no metal."
return
on=!on
user.visible_message("\The [src] [!on?"dea":"a"]ctivated.", "[user] [!on?"dea":"a"]ctivated \the [src].")
return