Skip to content

Commit

Permalink
Update KnownTechHandler.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPurple6411 committed Dec 27, 2022
1 parent d439977 commit 1e7d3f0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SMLHelper/Handlers/KnownTechHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ internal void AddAnalysisTech(TechType techTypeToBeAnalysed, IEnumerable<TechTyp
unlockMessage = UnlockMessage,
unlockSound = UnlockSound,
unlockPopup = UnlockSprite,
unlockTechTypes = new List<TechType>(techTypesToUnlock)
unlockTechTypes = new List<TechType>(techTypesToUnlock),
//Secondary fix for null ref exception caused by Subnautica 2.0 moving story goal initialization
//Maybe one day we expand this to actually be able to add list of StoryGoals from mods or base game???
storyGoals = new()
});
}
}
Expand Down

0 comments on commit 1e7d3f0

Please sign in to comment.