Improved Greed donation machine descriptions
This commit is contained in:
1 parent
ee43fe6127
commit
20538d0434
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user