Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: By default there is no ELRL railtype. #277

Merged
merged 1 commit into from
Feb 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nml/global_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -1354,8 +1354,8 @@ def create_spritegroup_ref(name, info, pos):
cargo_numbers = {}

is_default_railtype_table = True
# if no railtype_table is provided, OpenTTD assumes these 4 railtypes
railtype_table = {"RAIL": 0, "ELRL": 1, "MONO": 1, "MGLV": 2}
# if no railtype_table is provided, OpenTTD assumes these 3 railtypes
railtype_table = {"RAIL": 0, "MONO": 1, "MGLV": 2}

is_default_roadtype_table = True
# if no roadtype_table is provided, OpenTTD sets all vehicles to ROAD
Expand Down