Synthesizer bugfix (#37623)

This commit is contained in:
mentgah
2025-05-25 21:50:10 +02:00
committed by GitHub
parent a54e833fcc
commit 228a6d44bd

View File

@@ -244,6 +244,8 @@
/obj/structure/synthesized_instrument/synthesizer/ui_interact(mob/user, ui_key = "instrument", var/datum/nanoui/ui = null, var/force_open = 0)
if(!user || !anchored)
return
var/list/data
data = list(
"playback" = list(
@@ -360,4 +362,4 @@
/obj/structure/synthesized_instrument/synthesizer/shouldStopPlaying(mob/user)
return !((src && in_range(src, user) && anchored) || player.song.autorepeat)
return !((src && in_range(src, user) && anchored))