Fix wrong prefab event unregistration
This commit is contained in:
@@ -206,7 +206,7 @@ namespace FlaxEditor.CustomEditors.Dedicated
|
|||||||
if (_linkedPrefabId != Guid.Empty)
|
if (_linkedPrefabId != Guid.Empty)
|
||||||
{
|
{
|
||||||
_linkedPrefabId = Guid.Empty;
|
_linkedPrefabId = Guid.Empty;
|
||||||
Editor.Instance.Prefabs.PrefabApplied -= OnPrefabApplying;
|
Editor.Instance.Prefabs.PrefabApplying -= OnPrefabApplying;
|
||||||
Editor.Instance.Prefabs.PrefabApplied -= OnPrefabApplied;
|
Editor.Instance.Prefabs.PrefabApplied -= OnPrefabApplied;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user