mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-09 11:52:27 +03:00
Don't send Engineers at startup prior to 3.3
This commit is contained in:
parent
cc4390de49
commit
126158bf15
@ -232,6 +232,7 @@ def journal_entry(cmdr, is_beta, system, station, entry, state):
|
|||||||
('majorfactionReputation', v / 100.0),
|
('majorfactionReputation', v / 100.0),
|
||||||
]) for k,v in state['Reputation'].iteritems() if v is not None
|
]) for k,v in state['Reputation'].iteritems() if v is not None
|
||||||
])
|
])
|
||||||
|
if state['Engineers']: # Not populated < 3.3
|
||||||
add_event('setCommanderRankEngineer', entry['timestamp'],
|
add_event('setCommanderRankEngineer', entry['timestamp'],
|
||||||
[
|
[
|
||||||
OrderedDict([
|
OrderedDict([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user