Skip to content

Fixes #2514 by skipping most of BreakExecution().#2521

Merged
Dunbaratu merged 1 commit intoKSP-KOS:developfrom
Dunbaratu:fixes_2514
Jun 15, 2019
Merged

Fixes #2514 by skipping most of BreakExecution().#2521
Dunbaratu merged 1 commit intoKSP-KOS:developfrom
Dunbaratu:fixes_2514

Conversation

@Dunbaratu
Copy link
Member

Fixes #2514

Added a case in BreakExecution() to protect itself if it gets
called while there are no program contexts existing yet, and
thus nothing for it to break. (So it doesn't crash if you
call it while the CPU is powered down.)

Added a case in BreakExecution() to protect itself if it gets
called while there are no program contexts existing yet, and
thus nothing for it *to* break.  (So it doesn't crash if you
call it while the CPU is powered down.)
@Dunbaratu Dunbaratu added the bug Weird outcome is probably not what the mod programmer expected. label May 25, 2019
@Dunbaratu Dunbaratu merged commit 3146751 into KSP-KOS:develop Jun 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Weird outcome is probably not what the mod programmer expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shutdown kOS state seems to get mangled on save/reload.

1 participant