Commit 57a5cc65 authored by Matyáš Latner's avatar Matyáš Latner

Merge branch 'feature-encyclopedia' into 'V3.2.1'

#435 Reset replay button in encyclopedia when sound is muted



See merge request !394
parents 9237a8f4 0e124243
......@@ -14,6 +14,8 @@ import com.badlogic.gdx.utils.Align;
import com.badlogic.gdx.utils.viewport.ExtendViewport;
import com.badlogic.gdx.utils.viewport.Viewport;
import net.engio.mbassy.listener.Handler;
import java.util.List;
import java.util.Map;
......@@ -375,4 +377,9 @@ public class EncyclopediaScreen extends AbstractTablexiaScreen<Void> {
}
super.screenDisposed();
}
@Handler
private void handleMuteSound(TablexiaSettings.SoundMuteEvent event) {
if(event.isSoundMuted()) resetMusicButtonState();
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment