proper player movement on click
This commit is contained in:
@@ -9,7 +9,7 @@ export class PathfindingManager {
|
||||
this.scene = scene;
|
||||
|
||||
this.easyStar = new EasyStar.js();
|
||||
this.easyStar.disableDiagonals();
|
||||
this.easyStar.enableDiagonals();
|
||||
|
||||
this.setGrid(collisionsGrid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user