Skip to content

Commit cdaa717

Browse files
committed
Fixed #9417 (unbind command broken)
1 parent c651440 commit cdaa717

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)