Improved Greed donation machine descriptions

This commit is contained in:
Wofsauge committed 2024-01-12 23:50:35 +01:00
1 parent ee43fe6127
commit 20538d0434
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -133,8 +133,8 @@ local function DonationMachineCallback(descObj)
break
end
end
descObj.Description = string.gsub(descObj.Description, "{1}", coinsNeeded - totalDonations)
descObj.Description = string.gsub(descObj.Description, "{2}", coinsNeeded)
descObj.Description = string.gsub(descObj.Description, "{1}", coinsNeeded)
descObj.Description = string.gsub(descObj.Description, "{2}", coinsNeeded - totalDonations)
descObj.Icon = EID.InlineIcons["DonationMachine"]
return descObj
end