diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-08-27 10:53:04 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2023-08-27 10:53:04 +0200 |
commit | 3860f2e36698eac4a1e045ef1a626d0982207e7c (patch) | |
tree | 3efea8ddebcc2b227a81b619db564b3cdfe755ab | |
parent | 6da4ad16624484398331f393b503f8b5e2888c51 (diff) | |
download | redot-engine-3860f2e36698eac4a1e045ef1a626d0982207e7c.tar.gz |
[MP] Fix watch properties not being correctly removed
-rw-r--r-- | modules/multiplayer/scene_replication_config.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/multiplayer/scene_replication_config.cpp b/modules/multiplayer/scene_replication_config.cpp index af6af35219..db615f8c20 100644 --- a/modules/multiplayer/scene_replication_config.cpp +++ b/modules/multiplayer/scene_replication_config.cpp @@ -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 { |