From 44170f9fb31054ec604114591bdba82b62e98060 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 26 Sep 2006 00:22:09 +0000 Subject: [PATCH] don't leave the file open while we execute a script (leaves the file locked in Windows while/if the dialog comes up) --- stepmania/src/LuaManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/LuaManager.cpp b/stepmania/src/LuaManager.cpp index 6765ba90db..b08af9e33d 100644 --- a/stepmania/src/LuaManager.cpp +++ b/stepmania/src/LuaManager.cpp @@ -455,6 +455,7 @@ bool LuaHelpers::RunScriptFile( const RString &sFile ) Dialog::OK( sError, "LUA_ERROR" ); return false; } + f.Close(); Lua *L = LUA->Get();