Fix : prevent render retrigger when color changes

This commit is contained in:
2024-05-22 12:45:34 +02:00
parent 310b3e7b17
commit bd6978d392
3 changed files with 34 additions and 13 deletions
-1
View File
@@ -60,7 +60,6 @@ function can_buy_fire_gem(): boolean {
function checkEndTurn() {
// TODO: Add a confirmation dialog if resources are left
console.log("Checking end turn")
if (
(!warning.value)
&& has_actions_remaining()) {