Fix RPC call while not connected

main
copygirl 2 weeks ago
parent 3380bfdb6e
commit a3a33cd683
  1. 1
      copyMultiplayer.gd

@ -254,6 +254,7 @@ func on_model_changed(model: Node) -> void:
await get_tree().process_frame await get_tree().process_frame
var filename = main_controller._last_loaded_vrm.get_file() var filename = main_controller._last_loaded_vrm.get_file()
if multiplayer.get_peers().size() > 1:
change_model.rpc(version, bone_lookup, blendshape_lookup, filename) change_model.rpc(version, bone_lookup, blendshape_lookup, filename)

Loading…
Cancel
Save