mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Synthesizer bugfix (#37623)
This commit is contained in:
@@ -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)
|
/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
|
var/list/data
|
||||||
data = list(
|
data = list(
|
||||||
"playback" = list(
|
"playback" = list(
|
||||||
@@ -360,4 +362,4 @@
|
|||||||
|
|
||||||
|
|
||||||
/obj/structure/synthesized_instrument/synthesizer/shouldStopPlaying(mob/user)
|
/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))
|
||||||
|
|||||||
Reference in New Issue
Block a user