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:
parent
f5019825ff
commit
8c16b78849
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue