YnAMP overwrites ResourceBuilder.CanHaveResource but once it's finished working, it doesn't restore the original function. Any other mod that calls later ResourceBuilder.CanHaveResource gets an error because in a different context the function IsResourceExclusion is not defined.
Runtime Error: C:\Games\Steam\steamapps\workshop\content\289070\871861883\Override\AssignStartingPlots.lua:3566: function expected instead of nil
Please implement one of the following:
a) restore the original function
b) reverse the last parameter check, so when anyone calls it with 2 default parameters, the 3 will default to nil i.e. false and the routine can then call original function.
Thx!
Runtime Error: C:\Games\Steam\steamapps\workshop\content\289070\871861883\Override\AssignStartingPlots.lua:3566: function expected instead of nil
Please implement one of the following:
a) restore the original function
b) reverse the last parameter check, so when anyone calls it with 2 default parameters, the 3 will default to nil i.e. false and the routine can then call original function.
Thx!