Skip to content

Commit

Permalink
Health HUD maybe fix Steam Deck suspend issue, but better this time
Browse files Browse the repository at this point in the history
  • Loading branch information
Die4Ever committed Jun 25, 2023
1 parent 705560b commit 62b70ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DXRFixes/DeusEx/Classes/HUDHitDisplay.uc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ class DXRHUDHitDisplay merges HUDHitDisplay;

function SetHitColor(out BodyPart part, float deltaSeconds, bool bHide, int hitValue)
{
deltaSeconds = FMin(deltaSeconds, 0.05); // maximum delta, so numbers don't go crazy
deltaSeconds = FClamp(deltaSeconds, 0, 0.05); // limit delta, so numbers don't go crazy
_SetHitColor(part, deltaSeconds, bHide, hitValue);
}

0 comments on commit 62b70ed

Please sign in to comment.