R-Vaccari / bannerlord-banner-kings

BSD 3-Clause "New" or "Revised" License
72 stars 1.45k forks source link

BannerKingsConfig - crash on init #52

Closed brandonm4 closed 2 years ago

brandonm4 commented 2 years ago

The first time the ConfigHolder is called it crashes. If fixed it by adding a static constructor:

static BannerKingsConfig() { ConfigHolder.CONFIG = new(); }

R-Vaccari commented 2 years ago

Added that and worked. Thank you.