Open lua base lib to allow use of require() and dofile().

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1353 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues 2010-02-17 18:34:14 +00:00
parent 7fe8d44805
commit f05906f99b

View File

@ -840,6 +840,7 @@ void Button_Brush_Factory(void)
// For debug only
// luaL_openlibs(L);
luaopen_base(L);
luaopen_math(L);
strcat(scriptdir, selected_script);