Jump to content

Invalid HashID in new MorbRoverMakerConfig.cs


pether
  • Branch: Live Branch Version: Windows Fixed

While modding new MorbRover, I noticed that the maker building uses hashId from the dig site Story Trait, probably as a result of copy-paste error. I suspect it may cause some issues in the future:

image.png.ce990e2ab67ccfe537f7f1e39351b0de.png


Steps to Reproduce

1. Review MorbRoverMakerConfig.cs class

  • Like 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

While we are in this class, it seems it uses this line:

public static int GERM_TYPE = (int) Db.Get().Diseases.GetIndex((HashedString) "ZombieSpores");

please don't call Db.Get() in static fields, that will crash when the class is referenced before Db Init

  • Like 2
  • Haha 1

Share this comment


Link to comment
Share on other sites



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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...