Skip to content

Commit

Permalink
Attempt to fix NRE when importing .bk2 into TAStudio
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshiRulz committed Jun 2, 2024
1 parent 6cb07dd commit ec8ba06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public bool LoadMovieFile(string filename, bool askToSave = true)
_initializing = true; // Starting a new movie causes a core reboot
WantsToControlReboot = false;
_engaged = false;
MainForm.StartNewMovie(MovieSession.Get(filename), false);
if (!MainForm.StartNewMovie(MovieSession.Get(filename), record: false)) return false;
ConvertCurrentMovieToTasproj();
_initializing = false;
var success = StartNewMovieWrapper(CurrentTasMovie);
Expand Down

0 comments on commit ec8ba06

Please sign in to comment.