Skip to content

Commit

Permalink
Bite me style checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Safairette committed Dec 4, 2024
1 parent f949019 commit 2e524ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public override string ExplanationPart(StatRequest req)
else if (req.Def is ThingDef reqDef)
{
var bipodProps = reqDef.GetCompProperties<CompProperties_BipodComp>();
if (bipodProps != null) return "Bipod IS set up -" + " x".Colorize(ColorLibrary.Green) + bipodProps.recoilMulton.ToString().Colorize(ColorLibrary.Green);
if (bipodProps != null) { return "Bipod IS set up -" + " x".Colorize(ColorLibrary.Green) + bipodProps.recoilMulton.ToString().Colorize(ColorLibrary.Green); }
}
}
return null;
Expand Down Expand Up @@ -124,7 +124,7 @@ public override string ExplanationPart(StatRequest req)
else if (req.Def is ThingDef reqDef)
{
var bipodProps = reqDef.GetCompProperties<CompProperties_BipodComp>();
if (bipodProps != null) return "Bipod IS set up -" + " x".Colorize(ColorLibrary.Green) + bipodProps.swayPenalty.ToString().Colorize(ColorLibrary.Green);
if (bipodProps != null) { return "Bipod IS set up -" + " x".Colorize(ColorLibrary.Green) + bipodProps.swayPenalty.ToString().Colorize(ColorLibrary.Green); }
}
}
return null;
Expand Down

0 comments on commit 2e524ef

Please sign in to comment.