Skip to content

Commit 3aa523d

Browse files
committed
Mission Randomizer: Fix unexit-able vehicles bug
* It was caused by startup_positioning being active after loading a Franklin&Lamar autosave. * It's likely a R* bug since it seems to happen without Mission Randomizer as well, but in that case there are no instances where you have to exit a vehicle. * Fixes #34 and #26
1 parent c2e52a2 commit 3aa523d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mission/missions_Flow.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ MissionRandomizer_Flow::OnMissionStart ()
268268

269269
if ("GET_IS_LOADING_SCREEN_ACTIVE"_n())
270270
{
271+
"TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME"_n("startup_positioning");
271272
"SHUTDOWN_LOADING_SCREEN"_n();
272273
"DO_SCREEN_FADE_IN"_n(3000);
273274
}

0 commit comments

Comments
 (0)