Typo fixes
This commit is contained in:
parent
ca1cd388e8
commit
e77eb6d5be
2 changed files with 8 additions and 13 deletions
|
@ -155,7 +155,7 @@ export class MenuScene extends Phaser.Scene {
|
|||
gameManager.leaveGame(this, LoginSceneName, new LoginScene());
|
||||
break;
|
||||
case 'sparkButton':
|
||||
this.goToSpark();
|
||||
this.gotToCreateMapPage();
|
||||
break;
|
||||
case 'changeSkinButton':
|
||||
this.closeSideMenu();
|
||||
|
@ -195,8 +195,8 @@ export class MenuScene extends Phaser.Scene {
|
|||
this.closeGameQualityMenu();
|
||||
}
|
||||
|
||||
private goToSpark() {
|
||||
const sparkHost = 'https://'+window.location.host.replace('play.', 'admin.')+'/register';
|
||||
private gotToCreateMapPage() {
|
||||
const sparkHost = 'https://'+window.location.host.replace('play.', '')+'/choose-map.html';
|
||||
window.open(sparkHost, '_blank');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue