Page 1 of 1

[0.12.20] Game freezes when vehicle is destroyed over water

Posted: Sun Jan 10, 2016 2:22 pm
by Mr. Mechanic
I tried my hand at modding the game by creating a hovercraft vehicle - just a copy of the car entity, except that its collision mask is set to { "object-layer" }. That works as intended, but the game froze when the hovercraft I was driving got destroyed by worms while it was hovering over a body of water.

I assume there's a loop in the code somewhere that's checking for a valid position to drop the player when a vehicle is destroyed, but it's not taking into account that there may not be a valid position.

NOTE: This happened with version 0.12.20.

Re: [0.12.20] Game freezes when vehicle is destroyed over water

Posted: Tue Jan 12, 2016 4:24 pm
by kovarex
Thanks, it is fixed for 0.12.22