fix 'use last objects color' cursor color override using the color before the object was hit

This commit is contained in:
yugecin 2016-10-10 23:46:20 +02:00
parent 88950ea528
commit 255280de95

View File

@ -804,7 +804,7 @@ public class Game extends BasicGameState {
}
GameObject g = gameObjects[objectIndex];
if (g.isCircle() || g.isSlider() && g.getTime() <= trackPosition) {
if ((g.isCircle() || g.isSlider()) && g.getTime() <= trackPosition) {
Cursor.lastObjColor = g.getColor();
Cursor.lastMirroredObjColor = g.getMirroredColor();
}