v3.0.0: fixed traps being revealed much more often than intended
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user