Added additional absPath where necessary

This commit is contained in:
Alexander Bock
2017-12-18 14:47:58 -05:00
parent 0b0ad54028
commit 966df322cf
5 changed files with 8 additions and 8 deletions

View File

@@ -271,7 +271,7 @@ void ScriptEngine::addLibraryFunctions(lua_State* state, LuaLibrary& library,
for (const std::string& script : library.scripts) {
// First we run the script to set its values in the current state
ghoul::lua::runScriptFile(state, absPath(script));
ghoul::lua::runScriptFile(state, script);
library.documentations.clear();