[Fixed] event refernce listener listening to old event

This commit is contained in:
Thimo de Ram 2021-11-22 20:31:35 +01:00 committed by Miika Lönnqvist
parent 1c0ebd0e85
commit 67833f3c29
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ namespace UnityAtoms
{
_inMemoryCopy = ScriptableObject.CreateInstance<E>();
}
else
else if(_inMemoryCopy == null)
{
_inMemoryCopy = Instantiate(_base);
}

View File

@ -53,7 +53,7 @@ namespace UnityAtoms
{
_inMemoryCopy = ScriptableObject.CreateInstance<V>();
}
else
else if(_inMemoryCopy == null)
{
_inMemoryCopy = Instantiate(Base);
}