fixed merge errors
This commit is contained in:
parent
238f333b81
commit
7712bd685b
@ -1102,10 +1102,10 @@ ${escapedMessage}
|
|||||||
}
|
}
|
||||||
|
|
||||||
//todo: push that into the gameManager
|
//todo: push that into the gameManager
|
||||||
private loadNextGame(exitSceneIdentifier: string): void {
|
private loadNextGame(exitSceneIdentifier: string): Promise<void> {
|
||||||
const {roomId, hash} = Room.getIdFromIdentifier(exitSceneIdentifier, this.MapUrlFile, this.instance);
|
const {roomId, hash} = Room.getIdFromIdentifier(exitSceneIdentifier, this.MapUrlFile, this.instance);
|
||||||
const room = new Room(roomId);
|
const room = new Room(roomId);
|
||||||
gameManager.loadMap(room, this.scene).catch(() => {});
|
return gameManager.loadMap(room, this.scene).catch(() => {});
|
||||||
}
|
}
|
||||||
|
|
||||||
private startUser(layer: ITiledMapTileLayer): PositionInterface {
|
private startUser(layer: ITiledMapTileLayer): PositionInterface {
|
||||||
|
@ -13,7 +13,7 @@ import type {PlaySoundEvent} from "./Api/Events/PlaySoundEvent";
|
|||||||
import type { StopSoundEvent } from "./Api/Events/StopSoundEvent";
|
import type { StopSoundEvent } from "./Api/Events/StopSoundEvent";
|
||||||
import type { LoadSoundEvent } from "./Api/Events/LoadSoundEvent";
|
import type { LoadSoundEvent } from "./Api/Events/LoadSoundEvent";
|
||||||
import SoundConfig = Phaser.Types.Sound.SoundConfig;
|
import SoundConfig = Phaser.Types.Sound.SoundConfig;
|
||||||
import { LoadPageEvent } from './Api/Events/LoadPageEvent';
|
import type { LoadPageEvent } from './Api/Events/LoadPageEvent';
|
||||||
|
|
||||||
interface WorkAdventureApi {
|
interface WorkAdventureApi {
|
||||||
sendChatMessage(message: string, author: string): void;
|
sendChatMessage(message: string, author: string): void;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user