Gastronomicon

Gastronomicon

14.4k Downloads

Lua Error

doadin opened this issue ยท 0 comments

commented

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.