This should fix the update issue, I'll release a test binary soon.

This commit is contained in:
Zach Bacon 2016-07-31 09:30:16 -04:00
parent bba13d30a6
commit be25a2155b
No known key found for this signature in database
GPG Key ID: 7D110798AFE84B3A
1 changed files with 1 additions and 3 deletions

View File

@ -958,9 +958,7 @@ void GameArea::OnIdle(wxIdleEvent& event)
// Check for online updates
if (gopts.onlineupdates > 0 && !emusys) {
if ((wxDateTime::Now().GetTicks() - gopts.last_update) > gopts.onlineupdates * 24 * 60 * 60) {
wxGetApp().frame->CheckForUpdates();
}
wxGetApp().frame->CheckForUpdates();
}
#endif