Fix numberOfUnrevealedTiles logic

This commit is contained in:
Tyler 2024-07-28 23:11:44 +01:00
parent 0198ba6e56
commit c2c5ac6e68
Signed by: observer
GPG Key ID: 934A62C2C469FFAF

View File

@ -293,7 +293,7 @@ public class Controller {
Button current = (Button) getNodeByRowColumnIndex(row, column); Button current = (Button) getNodeByRowColumnIndex(row, column);
assert current != null; assert current != null;
String currentURL = getButtonURL(current); String currentURL = getButtonURL(current);
if (currentURL.contains("blank.png") || currentURL.contains("flag.png")) { if (currentURL.contains("blank.png") || currentURL.contains("flagged.png")) {
unrevealedTiles++; unrevealedTiles++;
} }
} }