mirror of
https://github.com/godotengine/godot
synced 2024-09-05 16:09:59 +00:00
Merge pull request #89839 from timothyqiu/meanwhile
Fix node config warning not updating for `Multiplayer{Spawner,Synchronizer}`
This commit is contained in:
commit
08803e7d83
|
@ -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) {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue