made a similar change to avoid the same issue to occur with lua scripts

This commit is contained in:
punkrockguy318 2008-09-23 00:35:01 +00:00
parent 33dc154958
commit 28f55799dc
1 changed files with 1 additions and 1 deletions

View File

@ -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) {