diff --git a/src/itdelatrisu/opsu/GameData.java b/src/itdelatrisu/opsu/GameData.java index b3d29e12..dda87642 100644 --- a/src/itdelatrisu/opsu/GameData.java +++ b/src/itdelatrisu/opsu/GameData.java @@ -1037,10 +1037,13 @@ public class GameData { * or {@code Grade.NULL} if no objects have been processed. */ private Grade getGrade() { + boolean silver = scoreData==null? + (GameMod.HIDDEN.isActive() || GameMod.FLASHLIGHT.isActive()): + (scoreData.mods&(GameMod.HIDDEN.getBit()|GameMod.FLASHLIGHT.getBit()))!=0; return getGrade( hitResultCount[HIT_300], hitResultCount[HIT_100], hitResultCount[HIT_50], hitResultCount[HIT_MISS], - (GameMod.HIDDEN.isActive() || GameMod.FLASHLIGHT.isActive()) + silver ); }