Исправление.

ERROR: res://scenes/pribor-uyep/sch3-view.gd:90 - Invalid access to property or key 'units' on a base object of type 'Node (Network)'.
ERROR: res://scripts/settings.gd:114 - Invalid access to property or key of type 'String' on a base object of type 'Dictionary'.
ERROR: res://scenes/pribor-uyep/sch3-view.gd:90 - Invalid access to property or key 'units' on a base object of type 'Node (Network)'.
This commit is contained in:
sasha80
2025-05-29 08:29:20 +03:00
parent 11ee535801
commit 07ed277832

View File

@@ -1,5 +1,3 @@
@tool
class_name sch3_view
extends 'res://scenes/контроль/элемент-я.gd'
@@ -87,6 +85,7 @@ func _enter_tree() -> void:
func _ready() -> void:
var unit_key = settings.get_unit_key(unit_name)
var a = network.units
var unit_sch3 = network.units[unit_key]
var items = get_tree().get_nodes_in_group('bits_items_switch')
for item in items: