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

Renaming instances in the project editor does not rename it's level folder #769

Open
sooooosh opened this issue Mar 17, 2023 · 0 comments
Open
Labels

Comments

@sooooosh
Copy link
Contributor

Describe the bug

Renaming a custom instance in the level editor will only change the instance ID in the main.xml, but not actually rename it's folder in levels/instances/. When trying to spawn the renamed instance, the game will crash since the instance doesn't have a level anymore.

Workaround is to manually rename the instance folder, but having it automatically rename would of course be much more convenient.

Steps to reproduce the issue

Create a custom instance.
Rename the instance via the project editor.
Spawn the renamed instance.
Crash.

Log file

No response

Minimal reproduction

No response

@sooooosh sooooosh added the bug label Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant