[MP] Fix watch properties not being correctly removed

(cherry picked from commit 3860f2e366)
This commit is contained in:
Fabio Alessandrelli 2023-08-27 10:53:04 +02:00 committed by Yuri Sizov
parent 035fece0e7
commit 560c52cef2
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ void SceneReplicationConfig::remove_property(const NodePath &p_path) {
properties.erase(p_path);
sync_props.erase(p_path);
spawn_props.erase(p_path);
watch_props.clear();
}
bool SceneReplicationConfig::has_property(const NodePath &p_path) const {