mirror of
https://github.com/norohind/EDMC-FCTracker.git
synced 2025-04-20 14:27:37 +03:00
Check if we alredy had CarrierStats event in this session
This commit is contained in:
parent
481beb4dca
commit
28884e3be8
4
load.py
4
load.py
@ -216,6 +216,10 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
|
||||
carrier.callsign = entry["Callsign"]
|
||||
return
|
||||
|
||||
if carrier.name is None: # In case edmc was opened when user already has opened Carrier Management window
|
||||
logger.debug('carrier.name is None, reopen Carrier Management')
|
||||
return
|
||||
|
||||
if event in [
|
||||
"CarrierJumpRequest",
|
||||
"CarrierJumpCancelled",
|
||||
|
Loading…
x
Reference in New Issue
Block a user