UI sound effect rename
This commit is contained in:
@@ -26,7 +26,7 @@ public class BaseDialog extends Dialog{
|
||||
if(shouldPause && state.isGame() && !net.active() && !wasPaused){
|
||||
state.set(State.playing);
|
||||
}
|
||||
Sounds.back.play();
|
||||
Sounds.uiBack.play();
|
||||
});
|
||||
|
||||
shown(() -> {
|
||||
|
||||
@@ -602,7 +602,7 @@ public class ResearchDialog extends BaseDialog{
|
||||
treeLayout();
|
||||
rebuild();
|
||||
Core.scene.act();
|
||||
Sounds.unlock.play();
|
||||
Sounds.uiUnlock.play();
|
||||
Events.fire(new ResearchEvent(node.content));
|
||||
}
|
||||
|
||||
|
||||
@@ -610,7 +610,7 @@ public class HudFragment{
|
||||
if(state.isMenu()) return;
|
||||
|
||||
scheduleToast(() -> {
|
||||
Sounds.message.play();
|
||||
Sounds.uiNotify.play();
|
||||
|
||||
Table table = new Table(Tex.button);
|
||||
table.update(() -> {
|
||||
@@ -640,7 +640,7 @@ public class HudFragment{
|
||||
//also don't play in the tutorial to prevent confusion
|
||||
if(state.isMenu()) return;
|
||||
|
||||
Sounds.message.play();
|
||||
Sounds.uiNotify.play();
|
||||
|
||||
//if there's currently no unlock notification...
|
||||
if(lastUnlockTable == null){
|
||||
|
||||
Reference in New Issue
Block a user