Fixed an issue where luascripts would get repeatadly opened on the sdl build

This commit is contained in:
punkrockguy318 2008-08-03 00:33:34 +00:00
parent fa92fce5f3
commit 09306b18c3
1 changed files with 1 additions and 1 deletions

View File

@ -529,8 +529,8 @@ main(int argc,
g_config->getOption("SDL.LuaScript", &fname);
if (fname != "")
{
g_config->setOption("SDL.LuaScript", "");
FCEU_LoadLuaCode(fname.c_str());
g_config->setOption("SDL.LoadLua", "");
}
// loop playing the game