Рефактор.

This commit is contained in:
sasha80
2023-10-17 14:58:12 +03:00
parent 9aac33d605
commit 54bf2fd721
14 changed files with 53 additions and 52 deletions

View File

@@ -43,10 +43,10 @@ signal threats_resized(th: Dictionary)
func _ready() -> void:
Log.info('Модуль обработки целей готов')
log.info('Модуль обработки целей готов')
var threats = {} ## Список целей. Индекс - <номер цели>
var unit_key = repsettings.get_unit_key('уарэп-капсрпб-отп')
var unit = REPNetwork.units[unit_key]
var unit = repnetwork.units[unit_key]
var timer_check_lost: = Timer.new()
add_child(timer_check_lost)
unit.connect('data_received', Callable(self, 'on_data_capsrpb_received').bind(threats))