Fix node config warning not updating for Multiplayer{Spawner,Synchronizer}

(cherry picked from commit 6feb43200b)
This commit is contained in:
Haoyu Qiu 2024-03-24 13:53:09 +08:00 committed by Rémi Verschelde
parent 1c5984c304
commit 7d1c5125a0
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 2 additions and 0 deletions

View File

@ -251,6 +251,7 @@ NodePath MultiplayerSpawner::get_spawn_path() const {
void MultiplayerSpawner::set_spawn_path(const NodePath &p_path) {
spawn_path = p_path;
_update_spawn_node();
update_configuration_warnings();
}
void MultiplayerSpawner::_track(Node *p_node, const Variant &p_argument, int p_scene_id) {

View File

@ -354,6 +354,7 @@ void MultiplayerSynchronizer::set_root_path(const NodePath &p_path) {
_stop();
root_path = p_path;
_start();
update_configuration_warnings();
}
NodePath MultiplayerSynchronizer::get_root_path() const {