- Fixes issue 811. A warning was sent if there weren't enough cable pieces left, but the proc did not return at that point.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4477 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-08-17 14:51:27 +00:00
parent ff55c845c1
commit f9d80e12ce

View File

@@ -17,6 +17,7 @@ SHARDS
var/obj/item/weapon/cable_coil/CC = W
if(CC.amount < 5)
user << "\b There is not enough wire in this coil. You need 5 lengths."
return
CC.use(5)
src.use(1)
user << "\blue You attach wire to the [name]."