Доработка, отправка команды на поставноку помех. В процессе.
This commit is contained in:
@@ -68,6 +68,6 @@ func _process(_delta: float) -> void:
|
||||
for addr in units:
|
||||
var unit = units[addr]
|
||||
match unit.process(tick):
|
||||
Error.OK: sock_unicast.send_to(addr, unit.data_tx)
|
||||
Error.OK: sock_unicast.send_to(addr, unit.tx_data)
|
||||
Error.FAILED: emit_signal('socket_error', 'ошибка: %s %s:%d' % [unit, addr[0], addr[1]])
|
||||
poll_sockets.any(func(sock): poll_receive(sock, tick))
|
||||
|
||||
Reference in New Issue
Block a user