Рефактор.

This commit is contained in:
sasha80
2025-09-20 12:09:19 +03:00
parent fb0b771e98
commit 647f1cf243
4 changed files with 29 additions and 30 deletions

View File

@@ -84,7 +84,7 @@ func on_timer_aoa_update(threats:Dictionary, tmr):
tmr.start(1.0)
## отправляет словарь целей в юнит, для запаковки и отправки в 5П28.
func on_get_threats(unit, threats): unit.pack_threats(threats)
func on_get_threats(unit_instance, threats): unit_instance.pack_threats(threats)
## Снимает выделение с цели, если нажать по отметке цели.
func on_rto_threat_unsel(th_id, threats): threats[th_id].selected = false