Skip to content

Model\create! crashes #608

Open
Open
@DarkWiiPlayer

Description

@DarkWiiPlayer

When you attempt to call create without arguments it crashes with the error [...]model.lua:169: bad argument #1 to 'pairs' (table expected, got nil)

I'm not sure if there's any use-cases for this, and I only found it myself because I was playing around with it, so maybe it's not worth fixing. Either way, it can be fixed with just adding a default parameter {} to the function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions