We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c27ee3 commit 0b85d00Copy full SHA for 0b85d00
1 file changed
src/platform-bridges/CrazyGamesPlatformBridge.js
@@ -137,6 +137,11 @@ class CrazyGamesPlatformBridge extends PlatformBridgeBase {
137
this.#isUserAccountAvailable = this._platformSdk.user.isUserAccountAvailable
138
const getPlayerInfoPromise = this.#getPlayer()
139
140
+ this._platformSdk.game.addSettingsChangeListener((settings) => {
141
+ this._setAudioState(!settings.muteAudio)
142
+ })
143
+ this._setAudioState(!this._platformSdk.game.settings.muteAudio)
144
+
145
if (this.options.xsollaProjectId) {
146
this.#ensurePaystationLoaded()
147
}
0 commit comments