Skip to content

Commit

Permalink
Fix typo's in the cleaner script
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas committed Apr 30, 2024
1 parent 561107f commit f81c6e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tools/cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,16 +421,16 @@ def find_classification(unit):
return 'RULEUC_Engineer'
if "COMMAND" in unit['Categories']:
return 'RULEUC_Commander'
if "COUNTERINTELLIGENCE" in unit['Categories']:
return 'RULEUC_CounterMeasure'
if "LAND" in unit['Categories']:
return 'RULEUC_MilitaryVehicle'
if "NAVAL" in unit['Categories']:
return 'RULEUC_MilitaryShip'
if "SUB" in unit['Categories']:
return 'RULEUC_MilitarySub'
if "AIR" in unit['Categories']:
return 'RULEUC_MilitarySub'
return 'RULEUC_MilitaryAircraft'
if "COUNTERINTELLIGENCE" in unit['Categories']:
return 'RULEUC_CounterMeasure'

if "STRUCTURE" in unit['Categories']:
if "ENGINEER" in unit['Categories']:
Expand All @@ -445,6 +445,8 @@ def find_classification(unit):
return 'RULEUC_MilitaryStructure'
if "ANTIMISSILE" in unit['Categories']:
return 'RULEUC_MilitaryStructure'
if "COUNTERINTELLIGENCE" in unit['Categories']:
return 'RULEUC_CounterMeasure'
if "SHIELD" in unit['Categories']:
return 'RULEUC_MiscSupport'
if "RADAR" in unit['Categories']:
Expand Down

0 comments on commit f81c6e8

Please sign in to comment.