Added network sub threads

This commit is contained in:
2024-02-19 16:03:08 +01:00
parent 54f2b9c686
commit f7209d2164
3 changed files with 10 additions and 1 deletions

View File

@ -21,5 +21,5 @@ func handle_packet(packet: PackedByteArray):
push_warning("Unknown packet type %d" % type)
return
handler.handle_packet(packet.slice(1))
handler.handle_packet.call_deferred(packet.slice(1))
download += packet.size()