Skip to content

Commit

Permalink
Health HUD maybe fix Steam Deck suspend issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Die4Ever committed Jun 25, 2023
1 parent 826febf commit 705560b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions DXRFixes/DeusEx/Classes/HUDHitDisplay.uc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
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
_SetHitColor(part, deltaSeconds, bHide, hitValue);
}

0 comments on commit 705560b

Please sign in to comment.