This commit is contained in:
AliIbnAbiTalib
2023-04-06 23:43:59 +02:00
parent ef09b2770b
commit 98cdfc691e
4 changed files with 8 additions and 5 deletions
@@ -176,7 +176,7 @@ public class NoPlayablePlayer : Player
Trap t = currentField.placedItem.GetComponent<Trap>();
AddCoins(-3);
t.target.AddCoins(3);
Destroy(t);
Destroy(t.gameObject);
currentField.placedItem = null;
}
}