fix: correctly add values to self.__grid instead of the grid class table #27

Merged
PeaAshMeter merged 1 commits from fix/grid-add-to-self into main 2026-02-02 01:06:23 +03:00
Showing only changes of commit 958d3bc245 - Show all commits

View File

@ -8,7 +8,7 @@ grid.__index = grid
--- adds a value to the grid
--- @param value any
function grid:add(value)
grid[tostring(value.position)] = value
self.__grid[tostring(value.position)] = value
end
--- @param position Vec3