Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/Core/Entities/PlayerEntity.m
Original file line number Diff line number Diff line change
Expand Up @@ -2259,7 +2259,11 @@ - (void) completeSetUpAndSetTarget:(BOOL)setTarget

[self setDockedStation:[UNIVERSE station]];
[self setLastAegisLock:[UNIVERSE planet]];
[self validateCustomEquipActivationArray];
// only do this if we're not in strict mode, otherwise all previously saved OXP key/joystick defs will be wiped.
if (![[UNIVERSE useAddOns] isEqualToString:SCENARIO_OXP_DEFINITION_NONE])
{
[self validateCustomEquipActivationArray];
}

JSContext *context = OOJSAcquireContext();
[self doWorldScriptEvent:OOJSID("startUp") inContext:context withArguments:NULL count:0 timeLimit:MAX(0.0, [[NSUserDefaults standardUserDefaults] oo_floatForKey:@"start-script-limit-value" defaultValue:kOOJSLongTimeLimit])];
Expand Down