-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
(cherry pick) Don't call GameSession::restart_level in the constructor #3115
(cherry pick) Don't call GameSession::restart_level in the constructor #3115
Conversation
This stops testing/the title screen (yes, the title screen) from reparsing the level by simply changing the usage pattern of the TitleScreen. (Cherry picked from swagtoy/supertux:editor2)
wait hold on there's a regression where you can control Tux from the title screen |
Okay, seems to work! Later i'll actually end up probably creating an |
Seems good now. I did test some things and it doesn't crash and burn. Any final words? |
|
RE: Your change here would've broken logic as we never pushed anything on the screen to begin with. |
(commenting in a regular comment as Github is broken right now) |
This stops testing (on the "Test from here")/the title screen (yes, the title screen) from reparsing the level by simply changing the usage pattern of the GameSession constructor.
Cherry picked from commit swagtoy@0d25b71 upon the request of Vankata.