sti bump.lua plugin conctenate error
Posted: Tue Sep 08, 2020 12:11 pm
the code
the error
Code: Select all
require 'conf';
require 'vars';
bump = require 'maps/bump';
loc= require("maps/lv1")
local sti = require "maps"
local world = bump.newWorld()
function love.load()
test = love.audio.newSource("audio/03 Towering Chieftain.mp3","static")
map = sti(loc ,{bump})
map:bump_init(world)
Code: Select all
Error
maps/init.lua:157: attempt to concatenate local 'plugin' (a table value)
Traceback
maps/init.lua:157: in function 'loadPlugins'
maps/init.lua:77: in function 'init'
maps/init.lua:48: in function 'sti'
main.lua:10: in function 'load'
[C]: in function 'xpcall'
[C]: in function 'xpcall'