From f05906f99b49ff8e352d0e681674593c1b3b4796 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 17 Feb 2010 18:34:14 +0000 Subject: [PATCH] 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 --- factory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/factory.c b/factory.c index 93789de7..80ab810f 100644 --- a/factory.c +++ b/factory.c @@ -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);