Skip to content

bump plugin does not support infinite maps (layer chunks) #277

Description

@Bulba413

Error

sti/plugins/bump.lua:73: bad argument #1 to 'ipairs' (table expected, got nil)

Traceback

[C]: in function 'ipairs'
sti/plugins/bump.lua:73: in function 'bump_init'
main.lua:52: in function 'load'
[C]: in function 'xpcall'
[C]: in function 'xpcall'

all code related to sti or bump before this point:

local sti = require "sti"

local bump = require "bump"

local world = bump.newWorld(16)
map = sti("assets/testmap.lua", { "bump" })
map:bump_init(world)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions