From 7c5c4f1386a77e0013a09d3f89736699c1eb3bf3 Mon Sep 17 00:00:00 2001 From: Roms1383 Date: Thu, 28 Nov 2024 15:19:43 +0700 Subject: [PATCH] :bug: fix mod settings related issue --- crates/audioware/reds/Service.reds | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/audioware/reds/Service.reds b/crates/audioware/reds/Service.reds index dea822a84..e90f3145c 100644 --- a/crates/audioware/reds/Service.reds +++ b/crates/audioware/reds/Service.reds @@ -53,7 +53,7 @@ class AudiowareService extends ScriptableService { class ConfigService extends ScriptableService { private let config: ref; - private func RegisterModSettings() = ModSettings.RegisterListenerToModifications(this); - private func UnregisterModSettings() = ModSettings.UnregisterListenerToModifications(this); - public func OnModSettingsChange() = this.config = new AudiowareConfig(); + private func RegisterModSettings() { ModSettings.RegisterListenerToModifications(this); } + private func UnregisterModSettings() { ModSettings.UnregisterListenerToModifications(this); } + public func OnModSettingsChange() { this.config = new AudiowareConfig(); } }