fix: Fixes missing ordinal string comparisons arguments. (#1431)
--------- Co-authored-by: Kamron Batman <3953314+kamronbatman@users.noreply.github.com>
This commit is contained in:
parent
8eb480bdf5
commit
d366e02251
6 changed files with 6 additions and 6 deletions
|
|
@ -81,7 +81,7 @@ public class GumpGrid : Gump
|
|||
}
|
||||
|
||||
//percent
|
||||
var percent = sizes[i].Replace("*", "");
|
||||
var percent = sizes[i].RemoveOrdinal("*");
|
||||
var size = sizes[i] != percent ? len / 100 * int.Parse(percent) : int.Parse(percent);
|
||||
|
||||
list.Add(new Swap { Index = i, Size = size });
|
||||
|
|
|
|||
|
|
@ -530,7 +530,7 @@ public static class Core
|
|||
#if DEBUG
|
||||
const bool idleCPU = true;
|
||||
#else
|
||||
var idleCPU = ServerConfiguration.GetOrUpdateSetting("core.enableIdleCPU", false);
|
||||
var idleCPU = ServerConfiguration.GetOrUpdateSetting("core.enableIdleCPU", false);
|
||||
#endif
|
||||
|
||||
long last = TickCount;
|
||||
|
|
|
|||
|
|
@ -401,7 +401,7 @@ public class SkillInfo
|
|||
DexGain = dexGain;
|
||||
IntGain = intGain;
|
||||
GainFactor = gainFactor;
|
||||
ProfessionSkillName = professionSkillName ?? Name.Replace(" ", "");
|
||||
ProfessionSkillName = professionSkillName ?? Name.RemoveOrdinal(" ");
|
||||
StatTotal = strScale + dexScale + intScale;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue