Fix vectorAdd calculation; draw grid hexes after buildings
This commit is contained in:
@@ -23,7 +23,8 @@ function getCellOccupant(cell) {
|
||||
}
|
||||
|
||||
function getCells(svg) {
|
||||
return svg.querySelectorAll('g.grid > g[data-y] > g[data-x]');
|
||||
// return svg.querySelectorAll('g.grid > g[data-y] > g[data-x]');
|
||||
return svg.querySelectorAll('[data-q][data-r][data-s][data-t]');
|
||||
}
|
||||
|
||||
function getLockedSightLine(svg) {
|
||||
|
||||
Reference in New Issue
Block a user