From a7409287a4bd24736b2e89f657cff5416625c0ab Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Wed, 3 Dec 2025 11:21:17 -0500 Subject: pke: player-input detect active set on deactivate --- src/player-input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/player-input.cpp b/src/player-input.cpp index 6eb157c..811fb3e 100644 --- a/src/player-input.cpp +++ b/src/player-input.cpp @@ -639,7 +639,7 @@ void pke_input_deactivate_set(pke_input_action_set_handle handle) { break; } } - if (index != -1) { + if (index == -1) { fprintf(stderr, "[pke_input] Attempt to deactivate a non-active set.\n"); return; } -- cgit v1.2.3