[MP] Fix watch properties not being correctly removed
This commit is contained in:
parent
6da4ad1662
commit
3860f2e366
@ -162,6 +162,7 @@ void SceneReplicationConfig::remove_property(const NodePath &p_path) {
|
|||||||
properties.erase(p_path);
|
properties.erase(p_path);
|
||||||
sync_props.erase(p_path);
|
sync_props.erase(p_path);
|
||||||
spawn_props.erase(p_path);
|
spawn_props.erase(p_path);
|
||||||
|
watch_props.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SceneReplicationConfig::has_property(const NodePath &p_path) const {
|
bool SceneReplicationConfig::has_property(const NodePath &p_path) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user