mirror of
https://github.com/norohind/EDMC_SpanshRouter.git
synced 2025-06-03 17:11:03 +03:00
Add a couple of additional workarounds
If you are in supercruise, performing an FSS Discovery Scan or going in or out of supercruise will now also update the route.
This commit is contained in:
parent
fcf8f85849
commit
a4b77c9879
@ -26,4 +26,8 @@ Fly dangerous! o7
|
||||
|
||||
|
||||
## Known Issues
|
||||
At the moment, plotting a route while the game is running, and which begins from the system you're currently in, doesn't update your "next waypoint". If you're in that situation, logging off and back in should "wake up" the plugin.
|
||||
At the moment, plotting a route while the game is running, and which begins from the system you're currently in, doesn't update your "next waypoint". If you're in that situation, a couple of solutions are available:
|
||||
|
||||
* Performing a FSS Discovery Scan
|
||||
* Go in our out of Supercruise
|
||||
* Logging back in and out while EDMC is already running.
|
||||
|
5
load.py
5
load.py
@ -91,6 +91,11 @@ def update_route():
|
||||
def journal_entry(cmdr, is_beta, system, station, entry, state):
|
||||
if (entry['event'] == 'FSDJump' or entry['event'] == 'Location') and entry["StarSystem"] == this.next_stop:
|
||||
update_route()
|
||||
elif entry['event'] in ['SupercruiseEntry', 'SupercruiseExit'] and entry['StarSystem'] == this.next_stop:
|
||||
update_route()
|
||||
elif entry['event'] == 'FSSDiscoveryScan' and entry['SystemName'] == this.next_stop:
|
||||
update_route()
|
||||
|
||||
|
||||
def plugin_app(parent):
|
||||
this.parent = parent
|
||||
|
Loading…
x
Reference in New Issue
Block a user