don't leave the file open while we execute a script (leaves the file locked in Windows while/if the dialog comes up)

This commit is contained in:
Glenn Maynard
2006-09-26 00:22:09 +00:00
parent 8c657c1979
commit 44170f9fb3
+1
View File
@@ -455,6 +455,7 @@ bool LuaHelpers::RunScriptFile( const RString &sFile )
Dialog::OK( sError, "LUA_ERROR" );
return false;
}
f.Close();
Lua *L = LUA->Get();