From 28f55799dc82006c039ac6578b245790f3f51926 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Tue, 23 Sep 2008 00:35:01 +0000 Subject: [PATCH] made a similar change to avoid the same issue to occur with lua scripts --- src/drivers/sdl/sdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/sdl/sdl.cpp b/src/drivers/sdl/sdl.cpp index 76b9ba9a..7e57fffc 100644 --- a/src/drivers/sdl/sdl.cpp +++ b/src/drivers/sdl/sdl.cpp @@ -482,9 +482,9 @@ SDL_GL_LoadLibrary(0); g_config->getOption("SDL.LuaScript", &fname); if (fname != "") { - g_config->setOption("SDL.LuaScript", ""); FCEU_LoadLuaCode(fname.c_str()); } + g_config->setOption("SDL.LuaScript", ""); // loop playing the game while(GameInfo) {