WIP: render radial coord hexes/maps

This commit is contained in:
2025-06-16 22:41:32 -07:00
parent 8dd62a5459
commit fdb3840564
13 changed files with 113 additions and 215 deletions

View File

@@ -180,11 +180,11 @@ export function start(startLoc, units) {
for (const affiliation in forces) {
const container = document.querySelector(`#${affiliation}-record`);
const records = container.querySelector('.records');
const name = startLoc?.dataset[`${affiliation}Name`];
// const name = startLoc?.dataset[`${affiliation}Name`];
if (name) {
container.querySelector('.name').textContent = name;
}
// if (name) {
// container.querySelector('.name').textContent = name;
// }
forces[affiliation].forEach(r => records.appendChild(r));
}