Move lua events to the end of the frame loop

This commit is contained in:
adelikat 2012-09-02 14:14:36 +00:00
parent c31322400f
commit 8bed5ae6da
1 changed files with 3 additions and 4 deletions

View File

@ -1898,10 +1898,6 @@ namespace BizHawk.MultiClient
if (!fff)
{
UpdateToolsBefore();
#if WINDOWS
LuaConsole1.ResumeScripts(true);
#endif
}
if ((DateTime.Now - runloop_second).TotalSeconds > 1)
@ -1971,6 +1967,9 @@ namespace BizHawk.MultiClient
if (!fff)
{
UpdateToolsAfter();
#if WINDOWS
LuaConsole1.ResumeScripts(true);
#endif
}
}