mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
Don't send credits to EDSM at startup
Data may be out of date.
This commit is contained in:
parent
7093f45191
commit
a2c9383a1f
@ -522,8 +522,8 @@ class AppWindow:
|
||||
self.status['text'] = _('Sending data to EDSM...')
|
||||
self.w.update_idletasks()
|
||||
try:
|
||||
# Send credits to EDSM on startup
|
||||
if entry['event'] in [None, 'LoadGame']:
|
||||
# Send credits to EDSM on new game (but not on startup - data might be old)
|
||||
if entry['event'] == 'LoadGame':
|
||||
self.edsm.setcredits(monitor.credits)
|
||||
|
||||
# Send rank info to EDSM on startup or change
|
||||
|
Loading…
x
Reference in New Issue
Block a user