Fix, current player say
This commit is contained in:
@@ -218,7 +218,7 @@ export class GameScene extends Phaser.Scene implements GameSceneInterface{
|
||||
|
||||
//init colision
|
||||
this.physics.add.collider(this.CurrentPlayer, player, (CurrentPlayer: CurrentGamerInterface, MapPlayer: GamerInterface) => {
|
||||
MapPlayer.say("Hello, how are you ? ");
|
||||
CurrentPlayer.say("Hello, how are you ? ");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user