Исправления. Убраны объявления переменных необходимых для отладки.
This commit is contained in:
@@ -239,7 +239,6 @@ func connect_all() -> void:
|
||||
bip.name = '%d' % th.id
|
||||
map_threat_to_bip(th, bip)
|
||||
add_child(bip)
|
||||
var bips: Array = get_children().filter(func(item): return item.name.is_valid_int())
|
||||
|
||||
|
||||
func disconnect_all() -> void:
|
||||
@@ -313,7 +312,6 @@ func map_threat_to_bip(th: threats.Threat, bip: Control) -> bool:
|
||||
|
||||
## Обработчик сигнала обновления цели.
|
||||
func on_threat_update(th: threats.Threat):
|
||||
var bips: Array = get_children().filter(func(item): return item.name.is_valid_int())
|
||||
var bip = get_node('%d' % th.id)
|
||||
bip.update(th.tick_rx)
|
||||
if th.gos:
|
||||
|
||||
Reference in New Issue
Block a user