Log tracked hostiles while waiting at refuge
This commit is contained in:
1 parent
1fad756db7
commit
b75ad65de8
2 files changed
+79
-8
No files matched your search
+3
-2
@@ -654,8 +654,9 @@ def refresh_runtime(global_state, reload_managers=False):
|
||||
previous_threat_monitor.state, '__name__', 'watching')
|
||||
for attribute in (
|
||||
'next_scan_at', 'retry_at', 'safe_since', 'safety',
|
||||
'safe_sign', 'threats', 'resume_job_name',
|
||||
'job_suspended'):
|
||||
'safe_sign', 'threats', 'tracked_hostile_ids',
|
||||
'tracked_hostile_positions', 'next_refuge_report_at',
|
||||
'resume_job_name', 'job_suspended'):
|
||||
if hasattr(previous_threat_monitor, attribute):
|
||||
setattr(threat_monitor, attribute,
|
||||
getattr(previous_threat_monitor, attribute))
|
||||
|
||||
Reference in new issue
Block a user