Fixing FSM instancer where _base always is null (#219)

This commit is contained in:
Adam Ramberg 2020-12-22 21:27:26 +01:00 committed by GitHub
parent a503695fa9
commit ef7fa627e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ namespace UnityAtoms
private void OnEnable() private void OnEnable()
{ {
if (_base == null) if (Base == null)
{ {
_inMemoryCopy = ScriptableObject.CreateInstance<V>(); _inMemoryCopy = ScriptableObject.CreateInstance<V>();
} }