Skip to content

Commit

Permalink
world
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Dec 16, 2024
1 parent e91c47d commit a3e79a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/three/scenes/Worldmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ export default class WorldmapScene extends HexagonScene {
return { chunkX, chunkZ };
}

updateVisibleChunks = throttle((force: boolean = false) => {
updateVisibleChunks(force: boolean = false) {
const cameraPosition = new THREE.Vector3();
cameraPosition.copy(this.controls.target);
const { selectedEntityId } = this.state.armyActions;
Expand All @@ -832,7 +832,7 @@ export default class WorldmapScene extends HexagonScene {
this.highlightHexManager.highlightHexes([]);
}
}
}, 1000);
}

update(deltaTime: number) {
super.update(deltaTime);
Expand Down

0 comments on commit a3e79a7

Please sign in to comment.