mirror of
https://github.com/4sval/FModel.git
synced 2026-04-25 15:39:01 -05:00
missed an edge case #fuck
This commit is contained in:
parent
7d425f6176
commit
7785a33b5e
|
|
@ -137,12 +137,12 @@ public class BaseIconStats : BaseIcon
|
||||||
_statistics.Add(new IconStat(Utils.GetLocalizedResource("", "6EA26D1A4252034FBD869A90F9A6E49A", "Reload Time"), reloadTime, 10));
|
_statistics.Add(new IconStat(Utils.GetLocalizedResource("", "6EA26D1A4252034FBD869A90F9A6E49A", "Reload Time"), reloadTime, 10));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (overheatCooldown != 0f && clipSize > 999f || clipSize == 0f)
|
if (overheatCooldown != 0f && clipSize > 999f || overheatCooldown != 0f && clipSize == 0f)
|
||||||
{
|
{
|
||||||
_statistics.Add(new IconStat("Overheat Cooldown", overheatCooldown, 5));
|
_statistics.Add(new IconStat("Overheat Cooldown", overheatCooldown, 5));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (heatMax != 0f && heatPerShot != 0f && clipSize > 999f || clipSize == 0f)
|
if (heatMax != 0f && heatPerShot != 0f && clipSize > 999f || heatMax != 0f && heatPerShot != 0f && clipSize == 0f)
|
||||||
{
|
{
|
||||||
_statistics.Add(new IconStat("Shots to Overheat", Math.Ceiling(heatMax / heatPerShot), 80));
|
_statistics.Add(new IconStat("Shots to Overheat", Math.Ceiling(heatMax / heatPerShot), 80));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user