From 9b597426ac45775f63b1fe4365c6fa8f3c3179af Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Mon, 18 Apr 2022 21:07:55 -0600 Subject: Wow this is some shitty fucking code god damn --- src/systems/grid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/systems/grid.js') diff --git a/src/systems/grid.js b/src/systems/grid.js index 6add388..6d4cf84 100644 --- a/src/systems/grid.js +++ b/src/systems/grid.js @@ -32,7 +32,7 @@ game.system.Grid = (entitiesGrid) => { const { x, y } = entity.components.gridPosition; entitiesGrid[y][x].set(entity.id, entity); }); - } + }; const update = (_elapsedTime, entities, changedIds) => { gridEntities = Object.keys(entities).filter((x) => entities[x].hasComponent("gridPosition")).map((x) => entities[x]); @@ -68,4 +68,4 @@ game.system.Grid = (entitiesGrid) => { return { gameCoordsToGrid, gridCoordsToGame, update, gridWidth, gridHeight }; -}; \ No newline at end of file +}; -- cgit v1.2.3-70-g09d2