Merge pull request #37760 from YPOQ/stackfix

Fixed stacks sometimes having the wrong amount if created on another stack
This commit is contained in:
Tad Hardesty
2018-05-10 23:23:51 -07:00
committed by yogstation13-bot
parent 0e78c3bebf
commit e61c1ba97d
24 changed files with 58 additions and 114 deletions

View File

@@ -147,8 +147,7 @@
to_chat(user, "<span class='notice'>You remove the cables.</span>")
state = SCREWED_CORE
update_icon()
var/obj/item/stack/cable_coil/A = new /obj/item/stack/cable_coil( loc )
A.amount = 5
new /obj/item/stack/cable_coil(drop_location(), 5)
return
if(istype(P, /obj/item/stack/sheet/rglass))