Skip to content
Snippets Groups Projects
Commit e52a232e authored by DarkGod's avatar DarkGod
Browse files

GameState:findEventGridRadius also returns the center of the grids

parent abd7f1e7
No related branches found
No related tags found
No related merge requests found
......@@ -2268,7 +2268,7 @@ function _M:canEventGridRadius(level, x, y, radius, min)
end end
if #list < min then return false
else return list end
else list.center_x, list.center_y = x, y return list end
end
function _M:findEventGrid(level, checker)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment