You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In some cases, even after selecting a different character in the Level Editor, when the level is saved and played it displays the default Van character.
The text was updated successfully, but these errors were encountered:
evemartin
changed the title
Setting non-van character sometimes doesn't work
Switching to a non-van character in the Level Editor sometimes doesn't work
May 22, 2024
evemartin
changed the title
Switching to a non-van character in the Level Editor sometimes doesn't work
level editor: character change does not persist after road is randomly generated
May 22, 2024
Describe the bug
In some cases, even after selecting a different character in the Level Editor, when the level is saved and played it displays the default Van character.
To Reproduce
Expected behaviour
The level editor should remember the character choice even when recreating a new random road.
Once this has been fixed, please also check if changing other settings through the level editor also overwrites the character setting.
Good places to start
It seems like the function to generate the random road might be resetting the value of the character to the default, i.e. the van.
random_road.py
: https://github.com/ocadotechnology/rapid-router/blob/master/game/random_road.pyThe text was updated successfully, but these errors were encountered: