mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
You can no longer keep spawning hand labeler rolls out of thin air after removing its roll from a labeler once (#31426)
* Cleaned up hand labeler roll reference on roll removal * hold up what am I smoking here * oh god it's some really bad stuff
This commit is contained in:
@@ -95,7 +95,7 @@
|
|||||||
icon_state = "labeler0"
|
icon_state = "labeler0"
|
||||||
|
|
||||||
/obj/item/weapon/hand_labeler/attack_hand(mob/user) //Shamelessly stolen from stack.dm.
|
/obj/item/weapon/hand_labeler/attack_hand(mob/user) //Shamelessly stolen from stack.dm.
|
||||||
if (!mode && user.get_inactive_hand() == src)
|
if (!mode && user.get_inactive_hand() == src && chars_left > 0)
|
||||||
var/obj/item/device/label_roll/LR = new(user, amount=chars_left)
|
var/obj/item/device/label_roll/LR = new(user, amount=chars_left)
|
||||||
user.put_in_hands(LR)
|
user.put_in_hands(LR)
|
||||||
to_chat(user, "<span class='notice'>You remove the label roll.</span>")
|
to_chat(user, "<span class='notice'>You remove the label roll.</span>")
|
||||||
|
|||||||
Reference in New Issue
Block a user