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

This commit is contained in:
Haoyu Qiu 2024-03-24 13:53:09 +08:00
parent 99ff024f78
commit 6feb43200b
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 {