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
@ -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"
}