mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-18 09:57:40 +03:00
Embark: Keep monitor.station set when Embarking OnStation.
This commit is contained in:
parent
7c7609f2ee
commit
f6cb69ebad
@ -639,9 +639,6 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
|||||||
self.stationservices = None
|
self.stationservices = None
|
||||||
|
|
||||||
elif event_type == 'Embark':
|
elif event_type == 'Embark':
|
||||||
# If we've embarked then we're no longer on the station.
|
|
||||||
|
|
||||||
# alpha4
|
|
||||||
# This event is logged when a player (on foot) gets into a ship or SRV
|
# This event is logged when a player (on foot) gets into a ship or SRV
|
||||||
# Parameters:
|
# Parameters:
|
||||||
# • SRV: true if getting into SRV, false if getting into a ship
|
# • SRV: true if getting into SRV, false if getting into a ship
|
||||||
@ -658,6 +655,9 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
|||||||
# • StationType
|
# • StationType
|
||||||
# • MarketID
|
# • MarketID
|
||||||
self.station = None
|
self.station = None
|
||||||
|
if entry.get('OnStation'):
|
||||||
|
self.station = entry.get('StationName', '')
|
||||||
|
|
||||||
self.state['OnFoot'] = False
|
self.state['OnFoot'] = False
|
||||||
|
|
||||||
elif event_type == 'Disembark':
|
elif event_type == 'Disembark':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user