Instruments no longer keep updating if you aren't holding them etc etc (#12165)

* Update _song.dm

* Update item.dm
This commit is contained in:
kevinz000
2020-05-08 18:15:42 -07:00
committed by GitHub
parent 2a9746b34a
commit d309bc5e74
2 changed files with 16 additions and 5 deletions
@@ -66,6 +66,11 @@
/obj/item/instrument/proc/is_tuned()
return tune_time_left > 0
/obj/item/instrument/dropped(mob/user)
. = ..()
if((loc != user) && (user.machine == src))
user.set_machine(null)
/obj/item/instrument/interact(mob/user)
ui_interact(user)