fix getFile() usage
This commit is contained in:
1 parent
8028654ff2
commit
b4cacbd05d
1 file changed
+1
-1
@@ -86,7 +86,7 @@ namespace ag
|
|||||||
};
|
};
|
||||||
luaL_register(L, "ag", functions);
|
luaL_register(L, "ag", functions);
|
||||||
|
|
||||||
luaL_loadstring(L, (const char *) getFile("src/ag.lua"));
|
luaL_loadstring(L, (const char *) getFile("src/ag.lua", NULL));
|
||||||
|
|
||||||
lua_pcall(L, 0, 0, 0);
|
lua_pcall(L, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user