mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
[MIRROR] Fixes toggling ship ambience not doing anything until you enter an area with a different kind of ambient sound (#28463)
* Fixes toggling ship ambience not doing anything until you enter an area with a different kind of ambient sound (#84204) 🆑 ShizCalev fix: Toggling ambient ship sounds will now instantly turn it on/off. /🆑 * Fixes toggling ship ambience not doing anything until you enter an area with a different kind of ambient sound --------- Co-authored-by: Afevis <ShizCalev@users.noreply.github.com>
This commit is contained in:
@@ -103,6 +103,9 @@
|
||||
savefile_key = "sound_ship_ambience"
|
||||
savefile_identifier = PREFERENCE_PLAYER
|
||||
|
||||
/datum/preference/toggle/sound_ship_ambience/apply_to_client_updated(client/client, value)
|
||||
client.mob.refresh_looping_ambience()
|
||||
|
||||
/// Controls hearing elevator music
|
||||
/datum/preference/toggle/sound_elevator
|
||||
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
|
||||
|
||||
Reference in New Issue
Block a user