Jump to content

HighPriorityFeature tag doesn't do anything - Worldgen.AddHighPriorityCells has suspicious Union pattern


Tigin
  • Branch: Live Branch Version: Windows Fixed
public void AddHighPriorityCells(HashSet<int> cells)
    {
      this.highPriorityClaims.Union<int>((IEnumerable<int>) cells);
    }

This is a no-op, as the Union method does not mutate the highPriorityClaims set in-place. highPriorityClaims is permanently an empty set so the HighPriorityFeature tag doesn't do anything in worldgen (for world traits small boulders, geodes etc..).


Steps to Reproduce

V-LUSH-C-42-0-4A-MUWF1

V-FRST-C-42-0-4A-MUWF1

  • Thanks 1
  • Wavey 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.

Changed Status to Fixed

This explains the discontinuity observed when placing those world traits, thanks for the report! It also revealed another issue with them, which was also fixed. It will be fixed in U59.

  • Like 4

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...