Skip to content

Commit 89b7a79

Browse files
committed
Revert "Fixed #9417 (unbind command broken)"
This reverts commit cdaa717.
1 parent a3f0ebe commit 89b7a79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/core/CKeyBinds.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ bool CKeyBinds::RemoveCommand ( const char* szKey, const char* szCommand, bool b
651651
return false;
652652
if (bCheckState && pCommandBind->bHitState != bState)
653653
return false;
654-
if (pCommandBind->szResource)
654+
if (!pCommandBind->szResource)
655655
return false;
656656
bFound = true;
657657
if (m_bProcessingKeyStroke) {

0 commit comments

Comments
 (0)