Skip to content

Do not reset lab state when going to options#7226

Open
MjnMixael wants to merge 1 commit intoscp-fs2open:masterfrom
MjnMixael:lab_options_keep_state
Open

Do not reset lab state when going to options#7226
MjnMixael wants to merge 1 commit intoscp-fs2open:masterfrom
MjnMixael:lab_options_keep_state

Conversation

@MjnMixael
Copy link
Contributor

Fixes #3530 by simply not calling lab reset when going to Options and back.

There's no normal game path that gets around returning to the Lab from Options or any of its child states. If someone uses scripting to do game state shenanigans and jumps around and then we return to the Lab from the mainhall or some other call the worst-case scenario is the Lab resumes that previous state again, so this should be pretty safe.

@wookieejedi wookieejedi added cleanup A modification or rewrite of code to make it more understandable or easier to maintain. fix A fix for bugs, not-a-bugs, and/or regressions. Lab A feature or bug related to the F3 lab labels Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup A modification or rewrite of code to make it more understandable or easier to maintain. fix A fix for bugs, not-a-bugs, and/or regressions. Lab A feature or bug related to the F3 lab

Projects

None yet

Development

Successfully merging this pull request may close these issues.

F3 lab is reset after going to options menu

2 participants