From ac651ea6112739a4fa9fdd5132425c8e917ef37b Mon Sep 17 00:00:00 2001 From: SuhEugene <32931701+SuhEugene@users.noreply.github.com> Date: Thu, 28 Dec 2023 01:41:57 +0300 Subject: [PATCH] Fix total donation amount type --- mods/don_loadout/code/donations/donations.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/don_loadout/code/donations/donations.dm b/mods/don_loadout/code/donations/donations.dm index 6071f9c2076c1..e595045e74c83 100644 --- a/mods/don_loadout/code/donations/donations.dm +++ b/mods/don_loadout/code/donations/donations.dm @@ -41,7 +41,7 @@ query.Execute() if(query.NextRow()) - var/total = query.item[1] + var/total = text2num(query.item[1]) var/donator_level = DONATION_TIER_NONE if(total >= DONATION_TIER_ONE_SUM) donator_level = DONATION_TIER_ONE