1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00
Files
godot/core/io/multiplayer_api.cpp
Fabio Alessandrelli 1f7846abf8 Fix MultiplayerAPI initialization, clear.
rpc_sender_id is now correctly initialized to 0 so get_rpc_sender_id()
work reliably even if called before receiving any RPC.
root_node is initialized to NULL (fix crashes when incorrectly using the
MultiplayerAPI).
clear function now resets the packet cache size to free more memory when
not running.
2019-01-15 10:35:26 +01:00

30 KiB