mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
Remove duplicate require code in init.lua
This commit is contained in:
parent
b04bac9134
commit
e79832997e
7
init.lua
7
init.lua
@ -47,13 +47,8 @@ loveframes.collisions = {}
|
||||
-- install directory of the library
|
||||
local dir = loveframes.config["DIRECTORY"] or path
|
||||
|
||||
-- require the internal base libraries
|
||||
-- require middleclass
|
||||
loveframes.class = require(dir .. ".third-party.middleclass")
|
||||
require(dir .. ".libraries.util")
|
||||
require(dir .. ".libraries.skins")
|
||||
require(dir .. ".libraries.templates")
|
||||
require(dir .. ".libraries.debug")
|
||||
require(dir .. ".libraries.utf8")
|
||||
|
||||
-- replace all "." with "/" in the directory setting
|
||||
dir = dir:gsub("\\", "/"):gsub("(%a)%.(%a)", "%1/%2")
|
||||
|
Loading…
Reference in New Issue
Block a user