Fix wrong prefab event unregistration

This commit is contained in:
2024-04-22 23:33:27 +03:00
parent 25036be05f
commit 48fa41fc58

View File

@@ -186,7 +186,7 @@ namespace FlaxEditor.CustomEditors.Dedicated
if (_linkedPrefabId != Guid.Empty)
{
_linkedPrefabId = Guid.Empty;
Editor.Instance.Prefabs.PrefabApplied -= OnPrefabApplying;
Editor.Instance.Prefabs.PrefabApplying -= OnPrefabApplying;
Editor.Instance.Prefabs.PrefabApplied -= OnPrefabApplied;
}
}