Typo fixes

This commit is contained in:
Gregoire Parant 2020-12-17 18:19:47 +01:00
parent ca1cd388e8
commit e77eb6d5be
2 changed files with 8 additions and 13 deletions

View file

@ -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');
}
}