mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +01:00
Revenge Of The Instruments (#22213)
Take 2 <img width="320" height="149" alt="image" src="https://github.com/user-attachments/assets/21e45078-ef69-4b3c-8b50-208800b82558" /> It somehow got even worse over time. <img width="311" height="164" alt="image" src="https://github.com/user-attachments/assets/882d9a8e-16f1-4172-9c7b-f741d5bede8d" /> And now I have finished fixing it by hand and testing to verify that my fixes work. https://github.com/user-attachments/assets/0106593b-4b3f-4e7d-88f0-86c4b22571ff --------- Signed-off-by: VMSolidus <evilexecutive@gmail.com> Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
This commit is contained in:
@@ -142,7 +142,11 @@ GLOBAL_DATUM_INIT(sound_player, /singleton/sound_player, new)
|
||||
|
||||
/datum/sound_token/Destroy()
|
||||
Stop()
|
||||
. = ..()
|
||||
source = null
|
||||
if (listeners)
|
||||
listeners.Cut()
|
||||
sound = null
|
||||
return ..()
|
||||
|
||||
/datum/sound_token/proc/SetVolume(new_volume)
|
||||
new_volume = clamp(new_volume, 0, 100)
|
||||
|
||||
Reference in New Issue
Block a user