Added default marker for unkown units

This commit is contained in:
Pax1601
2023-11-18 19:01:47 +01:00
parent 283b9e682e
commit 51defbb8b2
4 changed files with 69 additions and 26 deletions

View File

@@ -348,7 +348,7 @@ export function getMarkerCategoryByName(name: string) {
else if (navyUnitDatabase.getByName(name) != null)
return "navyunit";
else
return "groundunit-other"; // TODO add other unit types
return "aircraft"; // TODO add other unit types
}
export function getUnitDatabaseByCategory(category: string) {