TTT-2 / TTT2

Trouble in Terrorist Town 2 for Garry's Mod (gmod)
https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556
178 stars 74 forks source link

reroll_no_credits translation bug #401

Closed Alf21 closed 4 years ago

Alf21 commented 4 years ago

https://github.com/TTT-2/TTT2/blob/2d24e0b181a84d1da2784296f1ff9a7b523c39cc/gamemodes/terrortown/gamemode/shared/lang/english.lua#L140

This should be You need {amount} credits to reroll!

Alf21 commented 4 years ago

https://github.com/TTT-2/TTT2/blob/e6fba6e555bb5711b1f443657519abf25596c028/gamemodes/terrortown/gamemode/client/cl_reroll.lua#L25

this should be something like

client:GetCredits() < cost

Alf21 commented 4 years ago

@lebroomer : @Satton2 told me the following:

I set the needed credits amount to 100 but... «Use {amount} credits to get new items in your shop!» appears. When I have no credits at all, the Reroll tab disappears.