I am currently working on a project which needs to have multiple files included. But there i have a problem. In my main file i am requiering two files which both include a folder. But it doesnt work. The strange is if i include just one script it works.
Here are the important parts of the scripts:
The main file code for the screen which doesnt work:
function GUI.Load()
printConsole("GUI Lib is loading...")
require("lib/gui/modules/GUILib_Frame.txt")
printConsole("GUI Lib is loading...Frame")
require("lib/gui/modules/GUILib_Buttons.txt")
printConsole("GUI Lib is loading...Buttons")
require("lib/gui/modules/GUILib_Draw.txt")
printConsole("GUI Lib is loading...Draw")
end
timer.create("Load",1,1,GUI.Load)