[MIRROR] Fix SHOULD_NOT_SLEEP hit in borg adjustable tracer bolts [MDB IGNORE] (#21292)

* Fix SHOULD_NOT_SLEEP hit in borg adjustable tracer bolts (#75512)

See #75232

* Fix SHOULD_NOT_SLEEP hit in borg adjustable tracer bolts

---------

Co-authored-by: Jordan Dominion <Cyberboss@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-05-20 11:21:06 -07:00
committed by GitHub
co-authored by Jordan Dominion
parent aeb81962c8
commit 6b7473c541
@@ -586,5 +586,13 @@
name = "adjustable tracer bolts"
desc = "Causes kinetic accelerator bolts to have an adjustable-colored tracer trail and explosion. Use in-hand to change color."
/obj/item/borg/upgrade/modkit/tracer/adjustable/attack_self(mob/user)
bolt_color = input(user,"","Choose Color",bolt_color) as color|null
/obj/item/borg/upgrade/modkit/tracer/adjustable/interact(mob/user)
..()
choose_bolt_color(user)
/obj/item/borg/upgrade/modkit/tracer/adjustable/proc/choose_bolt_color(mob/user)
set waitfor = FALSE
var/new_color = input(user,"","Choose Color",bolt_color) as color|null
bolt_color = new_color || bolt_color