Fixed an issue where luascripts would get repeatadly opened on the sdl build
This commit is contained in:
parent
fa92fce5f3
commit
09306b18c3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue