From 406055d35e575555c250e316856d40a87744e020 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Wed, 28 Jul 2021 10:16:27 +0200 Subject: [PATCH] fix: better requiring of utils --- sonic-radiance.love/birb/utils/init.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sonic-radiance.love/birb/utils/init.lua b/sonic-radiance.love/birb/utils/init.lua index d0f1c5c..4e7ee8f 100644 --- a/sonic-radiance.love/birb/utils/init.lua +++ b/sonic-radiance.love/birb/utils/init.lua @@ -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" }