Jump to content

buyraid ui text

Closed 2.4.1 2.4.2

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

Share this comment


Link to comment

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

Share this comment


Link to comment
432.2k

Downloads

Total number of downloads.

2.3k

Customers

Total customers served.

31.8k

Files Sold

Total number of files sold.

515.9k

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.