rezecib Posted January 27, 2016 Share Posted January 27, 2016 If something causes MergeRecipes to get called before SaveIndex gets instantiated (e.g. a modmain calls GetRecipe()), then the game crashes due to SaveIndex not being initialized. On line 72, in the MergeRecipes() function, it checks this: if not SaveGameIndex then which I believe is intended to protect against this very case. However, it needs to be checking with rawget instead to avoid crashing. View full bug Link to comment https://forums.kleientertainment.com/forums/topic/63356-bug-report-recipeluas-mergerecipes-doesnt-guard-saveindex-check-sufficiently/ Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now