Closed codylico closed 5 years ago
Yes, the name of the startup object has changed. You may simply write:
startup "DefaultStartup" "Waterworks Setup"
in the .lev file to update the reference. If this doesn't work, submit your logfile.txt file located in ~/.cache/opensurge2d/opensurge.
Yes, the name of the startup object has changed.
That makes sense. I am concerned that, when the game noticed the wrong startup script on my level, the game hangs instead of closing down or exiting the level. (It shows the error message, then seems to stop responding to key input.)
Yes, I see what you mean. I have submitted new code that addresses this issue. First, we don't need to crash the program due to a missing startup script; we will simply warn the player and proceed. Second, when there's an actual crash, the engine should be closed, not frozen. See if the new code works for you.
It works. Thank you.
Situation
I have my own custom "Waterworks" level file that broke when the Waterworks setup script either moved or changed names (probably the latter).
Expected Behavior
The Open Surge Engine would display an error message (either by dialog box or otherwise), then close and/or continue.
Current Behavior
The Open Surge Engine displays an error message by dialog box, then seems to hang.
System details
Commit: 088db1cf5eda87bea056542c2a40d1c75c94d2f8 CMake configuration: (using
ccmake
)OS: Ubuntu 18.04.2 LTS OS-type: 64-bit
Minimal level that breaks:
I can add more information as needed.