Jump to content

Antlion crash


penguin0616
  • Fixed

When Antlion is able to fight (ie antlion.lua -> StartCombat) has been called, if the world begins to rain, the game crashes.

It seems that when Antlion's mechanics were being changed to handle the new storm system, the changes were incomplete.
StartCombat still uses RemoveEventCallback on "ms_sandstormchanged", which is no longer a valid event, and sets inst.onstandstormchanged to nil.

However, since it is removing the wrong event ("ms_sandstormchanged" instead of "ms_stormchanged"), ms_stormchanged still gets called (thanks to rain) and crashes because inst.onsandstormchanged is nil.

 


Steps to Reproduce

1. Begin the antlion fight

2. Wait for the world to rain or force it to rain via command (no difference).

3. You should crash.

  • Like 3



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

×
  • Create New...