style fixes

This commit is contained in:
NilsUeter
2023-10-13 22:10:32 +02:00
parent 0445e93e8f
commit 4777d84819
3 changed files with 21 additions and 6 deletions
-2
View File
@@ -493,7 +493,6 @@ function ParseSelections(root, force) {
// Sort force units by role and name#
force.units.sort((a, b) => {
console.log(a.role);
if (UnitRoleSorting[a.role] > UnitRoleSorting[b.role]) return 1;
else if (UnitRoleSorting[a.role] == UnitRoleSorting[b.role]) {
if (a.name > b.name) return 1;
@@ -676,7 +675,6 @@ function ParseUnit(root) {
unit.factions.add(factKeyword);
} else {
const roleText = catName.trim();
console.log(roleText);
let unitRole = LookupRole(roleText);
if (unitRole != UnitRole.NONE) {
unit.role = unitRole;