Доработка poll_receive(soc_unicast)
This commit is contained in:
2
Main.gd
2
Main.gd
@@ -128,8 +128,8 @@ func poll_receive(sock: Socket) -> bool: ## Приёмник
|
|||||||
func _process(delta) -> void:
|
func _process(delta) -> void:
|
||||||
last_update_time += delta
|
last_update_time += delta
|
||||||
poll_receive(soc_brodcast)
|
poll_receive(soc_brodcast)
|
||||||
|
poll_receive(soc_unicast)
|
||||||
if flag_online and not flag_interval:
|
if flag_online and not flag_interval:
|
||||||
poll_receive(soc_unicast)
|
|
||||||
state_machine()
|
state_machine()
|
||||||
|
|
||||||
match unit.process(delta):
|
match unit.process(delta):
|
||||||
|
|||||||
Reference in New Issue
Block a user