Jump to content

Freezing Mobs crashes the game(?)


Hornete
  • Fixed

Haven't tested in general, but my friend crashed when attempting to fight Antlion (Starting the fight requires it to first freeze)

image.png.4bc2e5f2c701518d15ff37821a4f5e6b.png

This is because the freezable component will now pass the freezetime value, however freeze is an event listened for in stategraphs, and the stategraph:PushEvent function assumes that data is a table! Causing the same to crash trying to index a number value.

function StateGraphInstance:PushEvent(event, data)
    if data then
        data.state = self.currentstate.name
    else
        data = {state = self.currentstate.name}
    end
    table.insert(self.bufferedevents, {name=event, data=data})
end

 


Steps to Reproduce

1. Freeze Antlion (or anything?)

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

just had a crash when ridding my beeflo and fighting klaus, he didn't even get to full freeze me, but now I know it will crash me if I get caught in it for even a second.

this is gonna be a fun fight.

Share this comment


Link to comment
Share on other sites

unfortunately can't even fight antlion either due to the freezing issue, strangely enough, the ice hounds freeze effect doesn't cause a crash? 

Edited by ZeRoboButler

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