소스 검색

Merge pull request #81033 from Faless/mp/fix_watch_prop_remove

[MP] Fix watch properties not being correctly removed
Rémi Verschelde 2 년 전
부모
커밋
231daee7b4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      modules/multiplayer/scene_replication_config.cpp

+ 1 - 0
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 {