Регрессия. ERROR: res://scenes/tilemap/tilemap.gd:384 - Invalid call function 'get_unit_instance' in base 'Node (Network)': Attempt to call a method on a placeholder instance. Check if the script is in tool mode.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
@tool
|
||||
class_name Network extends Node
|
||||
|
||||
const YAU07_PROTO: = {'yau07tx': yau07.YaU07}
|
||||
@@ -213,6 +214,7 @@ func create_modbus(unit_name: StringName) -> sch_3.Sch3:
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
if Engine.is_editor_hint(): return
|
||||
var sock_unicast: = create_socket_udp('уарэп-яу07-частный')
|
||||
var sock_broadcast: = create_socket_udp('уарэп-яу07-общий')
|
||||
var sock_navi: = create_socket_udp('навигация')
|
||||
|
||||
Reference in New Issue
Block a user