mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
[MIRROR] Fixes GC for songs (#2205)
* Update _song.dm (#55564) The instrument datum would hold up the song datums preventing them from deletion, this fixes that * Fixes GC for songs Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
@@ -146,7 +146,9 @@
|
||||
stop_playing()
|
||||
SSinstruments.on_song_del(src)
|
||||
lines = null
|
||||
using_instrument = null
|
||||
if(using_instrument)
|
||||
using_instrument.songs_using -= src
|
||||
using_instrument = null
|
||||
allowed_instrument_ids = null
|
||||
parent = null
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user