mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-20 10:57:37 +03:00
Revert "EDDN: If this.horizons
is true, use that in is_horizons()
check"
This reverts commit ca80edd34d88298a2c9d933f79f0da8e68d870eb.
This commit is contained in:
parent
90aa2698cd
commit
d8689e5b9b
@ -1441,22 +1441,6 @@ def is_horizons(economies: MAP_STR_ANY, modules: MAP_STR_ANY, ships: MAP_STR_ANY
|
||||
:param ships: Ships available at the docked station.
|
||||
:return: bool - True if the Cmdr has Horizons access.
|
||||
"""
|
||||
# First check the Journal-sourced flag
|
||||
# NB: This assumes game currently running, rather than "old
|
||||
# journal file". `LoadGame` determines monitor.cmdr, which determines
|
||||
# the account used for CAPI, so it *should* match.
|
||||
#
|
||||
# For this to be wrong, the user would have had to have, e.g.:
|
||||
#
|
||||
# 1. Logged into Cmdr in Horizons/Odyssey, then back out again.
|
||||
# 2. Logged into Cmdr in base game, either on another machine, or
|
||||
# have removed the Journal file after.
|
||||
# 3. Re-run EDMC and triggered a manual CAPI update.
|
||||
#
|
||||
# This seems unlikely.
|
||||
if this.horizons:
|
||||
return True
|
||||
|
||||
economies_colony = False
|
||||
modules_horizons = False
|
||||
ship_horizons = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user