Fix, current player say
This commit is contained in:
parent
2afe6b4b6e
commit
ab70b28bb3
@ -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 ? ");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user