v3.0.0: fixed traps being revealed much more often than intended

This commit is contained in:
Evan Debenham
2025-01-22 13:28:31 -05:00
parent d2d58f8751
commit a879cddf84

View File

@@ -480,7 +480,7 @@ public abstract class RegularPainter extends Painter {
validNonHallways.remove(trapPos);
revealInc += revealedChance;
if (i < nTraps || revealInc >= 1) {
if (i >= nTraps || revealInc >= 1) {
trap.reveal();
revealInc--;
} else {