Skip to content

Lua Error #3

@doadin

Description

@doadin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions