Рефактор.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user