Skip to content

Commit

Permalink
Codechange: comment that train prop 0x32 (filter classes) is not supp…
Browse files Browse the repository at this point in the history
…orted currently but could be
  • Loading branch information
andythenorth committed Nov 24, 2024
1 parent c377661 commit fb223ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -9620,6 +9620,8 @@ def get_cargo_classes_for_nml(self, allow_disallow_key):
allow_disallow_key
]:
result.append(cargo_class)
# !! this does not currently support train prop 0x32 (filter allowed classes)
# !! if that's needed, then branch on allow_disallow_key == "allowed":
return "bitmask(" + ",".join(result) + ")"

@property
Expand Down

0 comments on commit fb223ed

Please sign in to comment.