mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 07:23:24 +02:00
[P3 Bug] Fix login screen not playing menu_open SFX properly
It did not properly specify that the SFX file was in the ui folder.
This commit is contained in:
parent
0c921cdb4a
commit
e25db16326
@ -33,7 +33,7 @@ export class LoginPhase extends Phase {
|
|||||||
globalScene.ui.showText(i18next.t("menu:logInOrCreateAccount"));
|
globalScene.ui.showText(i18next.t("menu:logInOrCreateAccount"));
|
||||||
}
|
}
|
||||||
|
|
||||||
globalScene.playSound("menu_open");
|
globalScene.playSound("ui/menu_open");
|
||||||
|
|
||||||
const loadData = () => {
|
const loadData = () => {
|
||||||
updateUserInfo().then(success => {
|
updateUserInfo().then(success => {
|
||||||
@ -53,7 +53,7 @@ export class LoginPhase extends Phase {
|
|||||||
loadData();
|
loadData();
|
||||||
},
|
},
|
||||||
() => {
|
() => {
|
||||||
globalScene.playSound("menu_open");
|
globalScene.playSound("ui/menu_open");
|
||||||
globalScene.ui.setMode(UiMode.REGISTRATION_FORM, {
|
globalScene.ui.setMode(UiMode.REGISTRATION_FORM, {
|
||||||
buttonActions: [
|
buttonActions: [
|
||||||
() => {
|
() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user