fix: better requiring of utils
This commit is contained in:
parent
6302d80182
commit
406055d35e
1 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
-- loveutils : a set of basic functions and utility for love2D.
|
||||
--- loveutils : a set of basic functions and utility for love2D.
|
||||
|
||||
--[[
|
||||
Copyright © 2019 Kazhnuz
|
||||
|
@ -25,11 +25,11 @@ local cwd = (...):gsub('%.init$', '') .. "."
|
|||
|
||||
-- load the different elements from loveutils
|
||||
return {
|
||||
math = require(cwd .. "math"),
|
||||
graphics = require(cwd .. "graphics"),
|
||||
filesystem = require(cwd .. "filesystem"),
|
||||
table = require(cwd .. "table"),
|
||||
string = require(cwd .. "string"),
|
||||
time = require(cwd .. "time"),
|
||||
datas = require(cwd .. "datas")
|
||||
math = require "birb.utils.math",
|
||||
graphics = require "birb.utils.graphics",
|
||||
filesystem = require "birb.utils.filesystem",
|
||||
table = require "birb.utils.table",
|
||||
string = require "birb.utils.string",
|
||||
time = require "birb.utils.time",
|
||||
datas = require "birb.utils.datas"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue