Доработка, отправка команды на поставноку помех. В процессе.

This commit is contained in:
MaD_CaT
2023-11-16 14:24:31 +03:00
parent 67942886d3
commit e32d2cb7b1
20 changed files with 283 additions and 135 deletions

View File

@@ -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))