Доработка. Упрощение счётчика опасных целей при работе по своим.
This commit is contained in:
@@ -703,5 +703,5 @@ func count_threats(ths):
|
||||
if gos_flag:
|
||||
c = ths.values().filter(func(th: threats.Threat): return th.proto != '').size()
|
||||
else:
|
||||
c = ths.values().filter(func(th: threats.Threat): return ((th.proto != '') and th.proto not in interfer.gos_protocols)).size()
|
||||
c = ths.values().filter(func(th: threats.Threat): return not th.gos).size()
|
||||
$count_danger_pad/count_danger.text = '%02d' % c
|
||||
|
||||
Reference in New Issue
Block a user