From 255280de95df6f2ec329f57f3907578a0883bd48 Mon Sep 17 00:00:00 2001 From: yugecin Date: Mon, 10 Oct 2016 23:46:20 +0200 Subject: [PATCH] fix 'use last objects color' cursor color override using the color before the object was hit --- src/itdelatrisu/opsu/states/Game.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/itdelatrisu/opsu/states/Game.java b/src/itdelatrisu/opsu/states/Game.java index 3d9885fb..84941dea 100644 --- a/src/itdelatrisu/opsu/states/Game.java +++ b/src/itdelatrisu/opsu/states/Game.java @@ -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(); }