Fix wrong prefab event unregistration

This commit is contained in:
2024-04-22 23:33:27 +03:00
committed by Ari Vuollet
parent b095acd4a5
commit 691b9458ec

View File

@@ -206,7 +206,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;
}
}