Skip to content

Commit

Permalink
Fix total donation amount type
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhEugene committed Dec 27, 2023
1 parent 1fcc760 commit ac651ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/don_loadout/code/donations/donations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac651ea

Please sign in to comment.