mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
- 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:
@@ -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]."
|
||||
|
||||
Reference in New Issue
Block a user