diff --git a/factory.c b/factory.c index 5397b1bc..bf541d01 100644 --- a/factory.c +++ b/factory.c @@ -959,6 +959,7 @@ void Button_Brush_Factory(void) Display_cursor(); Flush_update(); + chdir(scriptdir); L = lua_open();