Moved playing of docking music to before execution of playerStartedAutopilot handler, as per issue #180 discussion.
This commit is contained in:
parent
8a670aa204
commit
5cf14a12b7
@ -3320,9 +3320,9 @@ NSComparisonResult marketSorterByMassUnit(id a, id b, void *market);
|
||||
[self resetAutopilotAI];
|
||||
[shipAI setState:@"BEGIN_DOCKING"]; // reboot the AI
|
||||
[self playAutopilotOn];
|
||||
[[OOMusicController sharedController] playDockingMusic];
|
||||
[self doScriptEvent:OOJSID("playerStartedAutoPilot") withArgument:stationForDocking];
|
||||
[self setDockingClearanceStatus:DOCKING_CLEARANCE_STATUS_GRANTED];
|
||||
[[OOMusicController sharedController] playDockingMusic];
|
||||
|
||||
if (afterburner_engaged)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user