Jump to content

Gas Filter Reset after Load


Zervo
  • Fixed

I don't know if someone already report this or not.

Tried to search for a bit, and found nothing.

So might as well i create a report on it. Pardon if someone already report this.

 

So, the issue is everytime you load the game, the setting for your gas filter is being reset.

Each time you load a game, you have to preset everything again (which gas you want to filter out).

 

The other night I forgot to set it, and I'm too late to realize that the O2 on the base are depleting :<

I was too focus on the new area where i want to get contaminated water.


Steps to Reproduce
Create Gas Filter -> Setup what gas you want to filter -> Save -> Load -> Now the gas filter setup is being reset like the first time you built it



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.

I decided to look into this and found that in ElementFilter.OnDeserialized(),
ElementFilter.filterable.SelectedTag is never updated with the deserialized filteredTag.

After patching this in, the game loads the filter correctly.
 

  • Like 1

Share this comment


Link to comment
Share on other sites

Funny enough, can actually clear the entire ElementFilter.OnDeserialized()
method and just set ElementFilter.filterable.SelectedTag to filteredTag and let
SelectedTag call its changed event to set everything else.
 

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