Jump to content

Ocean Trawler causes crash if caught ocean fish is dropped near it while it's lowered


Electroely
  • Fixed

If you drop a live ocean fish on land near an ocean trawler (for example, due to a full inventory) and lower the trawler, the game will crash.

I suspect this is because the function GetBait is trying to get the fish data of the item version of the fish (which is picked up by FindEntity because the item versions of the fish have the "oceanfish" tag just as the fish themselves do, which is one of the only things the function checks for. This particular FindEntity call is in scripts/components/oceantrawler.lua, line 390)


Steps to Reproduce

- Catch an ocean fish. (c_give("oceanfish_medium_1_inv"))
- Build an ocean trawler (c_spawn("oceanfish_trawler")) and lower it.
- Drop the ocean fish on land near the ocean trawler.
- Game crashes.

  • Like 1
  • Big Ups 1



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