Skip to content

Commit b7a02aa

Browse files
committed
Fix minor logic error in ResetPlayerHudComponentProperty
1 parent 8a0b5e4 commit b7a02aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/luadefs/CLuaPlayerDefs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ bool CLuaPlayerDefs::ResetPlayerHudComponentProperty(eHudComponent component, eH
885885
}
886886
case eHudComponentProperty::BLINKING_HP_VALUE:
887887
{
888-
if (!component != HUD_HEALTH)
888+
if (component != HUD_HEALTH)
889889
return false;
890890

891891
hud->SetHealthBarBlinkingValue(10.0f);

0 commit comments

Comments
 (0)