fix: better requiring of utils

This commit is contained in:
Kazhnuz 2021-07-28 10:16:27 +02:00
parent 6302d80182
commit 406055d35e

View file

@ -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 Copyright © 2019 Kazhnuz
@ -25,11 +25,11 @@ local cwd = (...):gsub('%.init$', '') .. "."
-- load the different elements from loveutils -- load the different elements from loveutils
return { return {
math = require(cwd .. "math"), math = require "birb.utils.math",
graphics = require(cwd .. "graphics"), graphics = require "birb.utils.graphics",
filesystem = require(cwd .. "filesystem"), filesystem = require "birb.utils.filesystem",
table = require(cwd .. "table"), table = require "birb.utils.table",
string = require(cwd .. "string"), string = require "birb.utils.string",
time = require(cwd .. "time"), time = require "birb.utils.time",
datas = require(cwd .. "datas") datas = require "birb.utils.datas"
} }