Fixes cardboard tube duping (#1854)

This commit is contained in:
CitadelStationBot
2017-07-01 23:20:39 -05:00
committed by kevinz000
parent 682abbf6aa
commit 73557a5e5f
5 changed files with 19 additions and 17 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
icon_state = "deliverycloset"
density = 1
mouse_drag_pointer = MOUSE_ACTIVE_POINTER
var/giftwrapped = 0
var/giftwrapped = FALSE
var/sortTag = 0
/obj/structure/bigDelivery/attack_hand(mob/user)
@@ -44,7 +44,7 @@
var/obj/item/stack/wrapping_paper/WP = W
if(WP.use(3))
user.visible_message("[user] wraps the package in festive paper!")
giftwrapped = 1
giftwrapped = TRUE
icon_state = "gift[icon_state]"
else
to_chat(user, "<span class='warning'>You need more paper!</span>")