Sign in to follow this  

sanity check in scenario chests


Serpens
  • Fixed

In chest_ghosts.lua and chest_insanity.lua , if the trap is triggered the player loose sanity.
But somehow a ghost trap was triggered by a pig and because it has no sanity compnent, the game crashed.

So you have to add a check for components and sanity before trying to change sanity.


Steps to Reproduce
see scripts written above.
Sign in to follow this  


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.


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