Jump to content

buyraid ui text

Closed 2.4.1 2.4.2

Swedish Chef
Swedish Chef

Posted (edited)

i have a '/r' on the end of the buyraid ui.

completely vanilla install, added base in profile, enabled buy for hard in config 

 

 

Capture.PNG

Edited by Swedish Chef
pic
Swedish Chef

Posted

its only on the custom cost. its fine on rp, fine on economics

nivex

Posted (edited)

ok thanks fixed in next update

 

            private static string GetButtonText(RaidableMode mode, string langMode, string userid)
            {
                List<RaidableBaseCustomCostOptions> costs;
                if (config.Settings.Custom.TryGetValue(mode, out costs) && costs.All(o => o.IsValid()))
                {
                    return costs.Count == 1 ? string.Format("{0} ({1} {2})", langMode, costs[0].Amount, string.IsNullOrEmpty(costs[0].Name) ? costs[0].Shortname : costs[0].Name) : langMode;
                }

                return GetPurchasePrice(mode, langMode, userid);
            }

 

Edited by nivex
  • Love 1
nivex

Posted

Changed Status from Pending to Closed

Changed Fixed In to Next Version

nivex

Posted

you can use the above fix if you don't want to wait for the update, @Swedish Chef

just replace the existing method with this one

  • Love 1
1.7m

Downloads

Total number of downloads.

7.2k

Customers

Total customers served.

108.2k

Files Sold

Total number of files sold.

2.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.