Доработка. Упрощение счётчика опасных целей при работе по своим.

This commit is contained in:
MaD_CaT
2026-01-23 11:23:36 +03:00
parent 2f37068c61
commit 6950b09879

View File

@@ -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