Skip to content

Commit

Permalink
Fix SealedCreatureAsset not properly saving the template
Browse files Browse the repository at this point in the history
It saves it to the field but that field is overwritten by the return value, which was null, meaning it's effectively not being saved
  • Loading branch information
EldritchCarMaker authored Jan 1, 2024
1 parent f076530 commit 7fd65d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ECCLibrary/ECCLibrary/Assets/SealedCreatureAsset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public SealedCreatureAsset(PrefabInfo prefabInfo, CreatureTemplate template, Fun
/// <returns></returns>
protected override CreatureTemplate CreateTemplate()
{
return null;
return Template;
}

/// <summary>
Expand Down

0 comments on commit 7fd65d1

Please sign in to comment.