LuaWriter: Commented out code that checks if the file to save to doesn't exist. That code causes an infinite recursive loop, popping up a save dialog box every time. I'm not sure exactly what the logic was supposed to be here, but this seems to take care of the problem.

This commit is contained in:
pjgat09 2013-05-07 01:17:52 +00:00
parent f5019825ff
commit 8c16b78849
1 changed files with 2 additions and 2 deletions

View File

@ -531,10 +531,10 @@ namespace BizHawk.MultiClient
else
{
var file = new FileInfo(CurrentFile);
if (!file.Exists)
/*if (!file.Exists)
{
SaveScriptAs();
}
}*/
using (StreamWriter sw = new StreamWriter(CurrentFile))
{
sw.Write(LuaText.Text);