Jump to content

boat leaks made by cookie cutter when patched they despawn when you join back game


. . .
  • Pending

boat leaks made by cookie cutter when patched they despawn when you join back game, pleease fix, ty.


Steps to Reproduce

find cookie cutter, let it eat boat, patch hole, exit game, join game and patch is gone




User Feedback


Can confirm, I just reported the same thing in the return of them sub forum.
For some reason its not saving the boat leak data when a cookie cutter causes it, but works for collision. The comment in the boatleak component led me to looking at the hullhealth component I noticed it doesn't save dynamic leaks and that regular leaks seemed to get saved. It seems that all non collision boat leaks are put into the leak_indicators_dynamic table which doesn't get saved, as boat leaks don't persist normally I guess the boatleak component save data is lost? What is self.isdynamic suppose to even accomplish in the boatleak component?
I did a test with a mod to extend the boatleak component setstate function and just checked
 

		if self.isdynamic then
			self.inst.persists = true
		end

Seemed to fix the issue, not sure if this was what klei intended.
I just don't understand why they're 2 types of boat leaks in the first place.

  • Thanks 1

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