Skip to content

Commit

Permalink
Comment: Fixed an inappropriate test expression to remove a logical s…
Browse files Browse the repository at this point in the history
…hort circuit.
  • Loading branch information
munahaf authored and heinezen committed Oct 6, 2023
1 parent fb006ad commit 09e7d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openage/convert/processor/conversion/aoc/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ def create_building_lines(full_data_set: GenieObjectContainer) -> None:

upgrade_effects = effect_bundle.get_effects(effect_type=3)

if len(upgrade_effects) < 0:
if not upgrade_effects:
continue

# Search upgrade effects for the line_id
Expand Down

0 comments on commit 09e7d26

Please sign in to comment.