Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lua Error #3

Open
doadin opened this issue Apr 21, 2017 · 0 comments
Open

Lua Error #3

doadin opened this issue Apr 21, 2017 · 0 comments

Comments

@doadin
Copy link

doadin commented Apr 21, 2017

2x Gastronomicon\models\button.lua:44: bad argument #3 to 'format' (string expected, got nil)

Changing line 45 to

if name ~= nil then
    return string.format(" %s%s (x%d)", in_bag, name, count)
end

Removes the error however talking to Nomi the first time shows no names on second interaction the names appear. So the above fix is more of just a bubble gum fix and a better solution should probably be applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant