Don't export unnecessary functions

This commit is contained in:
2025-06-16 22:41:31 -07:00
parent 96739897ec
commit e29bd0fb0f
2 changed files with 32 additions and 36 deletions

View File

@@ -137,11 +137,7 @@ function select(data) {
record.classList.add('selected');
}
export function getSelected() {
return document.querySelector('.soldier-record.selected');
}
export function endMove() {
function endMove() {
const selected = getSelected();
if (selected) {
@@ -151,6 +147,10 @@ export function endMove() {
deselect();
}
export function getSelected() {
return document.querySelector('.soldier-record.selected');
}
export function start(startLoc, units) {
clear();
const forces = createRecords(units);