From ea9a0bac801839d5145f21bb06b47fea86b63464 Mon Sep 17 00:00:00 2001 From: kittyegg Date: Thu, 21 May 2026 21:50:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=80=D0=B0=D1=81=D1=81=D1=87=D1=91=D1=82=20UpgradeCost?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Turret.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Turret.cs b/Assets/Scripts/Turret.cs index 4095cb0..64bf8bc 100644 --- a/Assets/Scripts/Turret.cs +++ b/Assets/Scripts/Turret.cs @@ -25,7 +25,7 @@ public class Turret : MonoBehaviour public float Damage => _damage; public float Distance => _distance; public int SellPrice => Mathf.RoundToInt(_price * _sellingMultiplier); - public int UpgradeCost => Mathf.CeilToInt(_price * _upgradeCostMultiplier); + public int UpgradeCost => Mathf.RoundToInt(_price * _upgradeCostMultiplier); private void Start() {