FSDJump is also an instance change for combat zones
This commit is contained in:
parent
22396c9b22
commit
0cc8a1f29a
@ -224,6 +224,12 @@ internal class FSDJumpParser : TransactionParserPart {
|
||||
throw new InvalidJournalEntryException();
|
||||
}
|
||||
|
||||
// If you FSD jump straight out of the combat zone into a different system
|
||||
// then the combat zone will be placed in the wrong system otherwise.
|
||||
// This call needs to be *before* changing the current system.
|
||||
context.DiscernCombatZone(transactions, e);
|
||||
context.ResetCombatZone();
|
||||
|
||||
context.CurrentSystem = entry.StarSystem;
|
||||
context.CurrentSystemAddress = entry.SystemAddress;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user