Jump to content

Giving Merm King Cooked Fish Crashes Game


watermelen671
  • Fixed

As the title said, I think I accidentally tried to feed the merm king cooked fish, and it crashed the game. 

Quote

[00:23:32]: [string "scripts/prefabs/mermking.lua"]:291: bad argument #1 to 'ipairs' (table expected, got nil)
LUA ERROR stack traceback:
    =[C]:-1 in (global) ipairs (C) <-1--1>
    scripts/prefabs/mermking.lua:291 in (upvalue) ReturnMerms (Lua) <290-298>
    scripts/prefabs/mermking.lua:301 in (local) fn (Lua) <300-302>
    scripts/entityscript.lua:1040 in (method) PushEvent (Lua) <1027-1054>
    scripts/components/combat.lua:307 in (method) DropTarget (Lua) <299-310>
    scripts/components/combat.lua:329 in (method) SetTarget (Lua) <327-332>
    scripts/prefabs/mermking.lua:124 in (field) onaccept (Lua) <121-136>
    scripts/components/trader.lua:122 in (method) AcceptGift (Lua) <99-134>
    scripts/actions.lua:1054 in (field) fn (Lua) <1047-1064>
    scripts/bufferedaction.lua:25 in (method) Do (Lua) <21-35>
    scripts/entityscript.lua:1313 in (method) PerformBufferedAction (Lua) <1305-1323>
    scripts/stategraphs/SGwilson.lua:6537 in (field) fn (Lua) <6536-6538>
    scripts/stategraph.lua:574 in (method) UpdateState (Lua) <542-586>
    scripts/stategraph.lua:613 in (method) Update (Lua) <605-633>
    scripts/stategraph.lua:128 in (method) Update (Lua) <109-153>
    scripts/update.lua:228 in () ? (Lua) <159-238>

 


Steps to Reproduce
make merm king, get cooked fish, feed cooked fish



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