v0.4.2: increased priority of game logic thread to 1 below UI thread

This commit is contained in:
Evan Debenham 2016-08-28 21:45:00 -04:00
parent c29cef8907
commit 71c7c264ac

View File

@ -419,7 +419,7 @@ public class GameScene extends PixelScene {
}
};
//if cpu time is limited, game should prefer drawing the current frame
t.setPriority(Thread.MIN_PRIORITY);
t.setPriority(Thread.NORM_PRIORITY-1);
t.start();
}