diff options
Diffstat (limited to 'scene/main/scene_tree.h')
-rw-r--r-- | scene/main/scene_tree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/main/scene_tree.h b/scene/main/scene_tree.h index 9c06e4ded3..6e0156546e 100644 --- a/scene/main/scene_tree.h +++ b/scene/main/scene_tree.h @@ -185,7 +185,7 @@ private: ///network/// - Ref<MultiplayerAPI> multiplayer_api; + Ref<MultiplayerAPI> multiplayer; void _network_peer_connected(int p_id); void _network_peer_disconnected(int p_id); @@ -410,8 +410,8 @@ public: //network API - Ref<MultiplayerAPI> get_multiplayer_api() const; - void set_multiplayer_api(Ref<MultiplayerAPI> p_multiplayer_api); + Ref<MultiplayerAPI> get_multiplayer() const; + void set_multiplayer(Ref<MultiplayerAPI> p_multiplayer); void set_network_peer(const Ref<NetworkedMultiplayerPeer> &p_network_peer); Ref<NetworkedMultiplayerPeer> get_network_peer() const; bool is_network_server() const; |