stats.py: Checking CAPI lastStarport is un-necessary, as never used.

The `lastSystem` *is* however used, for the 'current ship not currently
docked' case.
This commit is contained in:
Athanasius committed 2022-12-23 15:44:42 +00:00
1 parent f9d384cc6d
commit cdb61bcced
1 file changed
-2
-2
View File
@@ -335,8 +335,6 @@ class StatsDialog():
elif (
not capi_data.get('lastSystem')
or not capi_data['lastSystem'].get('name', '').strip()
or not capi_data.get('lastStarport')
or not capi_data['lastStarport'].get('name', '').strip()
):
# Shouldn't happen
# LANG: Unknown location