Fix, current player say

This commit is contained in:
gparant 2020-04-13 15:35:38 +02:00
parent 2afe6b4b6e
commit ab70b28bb3

View File

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