Merge pull request #89839 from timothyqiu/meanwhile

Fix node config warning not updating for `Multiplayer{Spawner,Synchronizer}`
This commit is contained in:
Rémi Verschelde 2024-04-08 11:20:25 +02:00
commit 08803e7d83
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) { void MultiplayerSpawner::set_spawn_path(const NodePath &p_path) {
spawn_path = p_path; spawn_path = p_path;
_update_spawn_node(); _update_spawn_node();
update_configuration_warnings();
} }
void MultiplayerSpawner::_track(Node *p_node, const Variant &p_argument, int p_scene_id) { 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(); _stop();
root_path = p_path; root_path = p_path;
_start(); _start();
update_configuration_warnings();
} }
NodePath MultiplayerSynchronizer::get_root_path() const { NodePath MultiplayerSynchronizer::get_root_path() const {