Thanks to phil235
This commit is contained in:
bear1ake
2016-01-24 00:22:57 +09:00
parent 4b870b20a9
commit 6972a21830
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -312,12 +312,12 @@
src.cell = W
user << "<span class='notice'>You insert the cell.</span>"
if(istype(W, /obj/item/stack/cable_coil))
if(src.wires)
if(src.wired)
user << "<span class='warning'>You have already inserted wire!</span>"
return
var/obj/item/stack/cable_coil/coil = W
if (coil.use(1))
src.wires = 1
src.wired = 1
user << "<span class='notice'>You insert the wire.</span>"
else
user << "<span class='warning'>You need one length of coil to wire it!</span>"