mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-12 00:52:40 +01:00
DroidFish: Small improvement in engine input handling.
This commit is contained in:
@@ -1018,13 +1018,12 @@ public class DroidComputerPlayer {
|
||||
if (Thread.currentThread().isInterrupted())
|
||||
return;
|
||||
|
||||
if ((searchRequest == null) || (searchRequest.currPos == null))
|
||||
return;
|
||||
|
||||
long now = System.currentTimeMillis();
|
||||
if (now < lastGUIUpdate + guiUpdateInterval)
|
||||
return;
|
||||
lastGUIUpdate = now;
|
||||
|
||||
if ((searchRequest == null) || (searchRequest.currPos == null))
|
||||
return;
|
||||
|
||||
int id = engineState.searchId;
|
||||
if (depthModified) {
|
||||
|
||||
Reference in New Issue
Block a user