Skip to content

Commit 354d8c0

Browse files
PeterNandythenorth
authored andcommitted
Fix: Incorrect value shown for badge translation table usage.
1 parent e9ce04b commit 354d8c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nml/global_constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ def print_stats():
15031503
# Ids FE and FF have special meanings in Action3, so we do not consider them valid ids.
15041504
generic.print_info("Cargo translation table: {}/{}".format(len(cargo_numbers), 0xFE))
15051505
if len(badge_numbers) > 0:
1506-
generic.print_info("Badge translation table: {}/{}".format(len(cargo_numbers), 0x10000))
1506+
generic.print_info("Badge translation table: {}/{}".format(len(badge_numbers), 0xFFFF))
15071507
if not is_default_railtype_table:
15081508
generic.print_info("Railtype translation table: {}/{}".format(len(railtype_table), 0x100))
15091509
if not is_default_roadtype_table:

0 commit comments

Comments
 (0)