Skip to content

Commit

Permalink
🐛 fix mod settings related issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Roms1383 committed Nov 28, 2024
1 parent 55ba49a commit 7c5c4f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/audioware/reds/Service.reds
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class AudiowareService extends ScriptableService {
class ConfigService extends ScriptableService {
private let config: ref<AudiowareConfig>;
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(); }
}

0 comments on commit 7c5c4f1

Please sign in to comment.