Skip to content

Commit

Permalink
Update edrclient.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lekeno committed Feb 12, 2022
1 parent 8b4a4bc commit e61b332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edr/edrclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,14 +582,14 @@ def noteworthy_about_scan(self, scan_event):
def register_fss_signals(self, system_address=None, override_star_system=None, force_reporting=False):
self.edrfssinsights.update_system(system_address or self.player.star_system_address, override_star_system or self.player.star_system)
if self.edrfssinsights.reported:
if force_reporting:
if force_reporting:
# Skipping further FSS signals because the signals are additive only (no events for FC signals that are no longer relevant...)
self.status = _(u"Skipped FC report for consistency reasons (fix: leave and come back)")
new_fc = self.edrfssinsights.newly_found_fleet_carriers()
if new_fc:
# Report new FC to help with CG (e.g. unloading/loading commodities from newly arrived FC)
self.notify_with_details(_(u"{} newly arrived fleet carriers").format(len(new_fc)), ["{} : {}".format(callsign, new_fc[callsign]) for callsign in new_fc])
return
return
fc_report = self.edrfssinsights.fleet_carriers_report(force_reporting)
if fc_report is not None:
EDRLOG.log(u"Registering FSS signals; fc_report: {} with sys_address {} and star_system {}".format(fc_report, system_address, override_star_system), "DEBUG")
Expand Down

0 comments on commit e61b332

Please sign in to comment.