From a61c85d8693ff74420a6019edf8a1f76ab55c7b6 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sun, 4 Apr 2021 23:16:15 -0500 Subject: [PATCH] Add keybind console logs --- scripts/client/keybind.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/client/keybind.js b/scripts/client/keybind.js index 716d0138..60cb3fca 100644 --- a/scripts/client/keybind.js +++ b/scripts/client/keybind.js @@ -23,6 +23,7 @@ function initKeyBindScript() { // =========================================================================== function bindAccountKey(key, keyState) { + logToConsole(LOG_DEBUG, `[Asshat.KeyBind]: Binded key ${sdl.getKeyName(key)} (${key})`); bindKey(toInteger(key), keyState, function(event) { if(hasKeyBindDelayElapsed()) { lastKeyBindUse = sdl.ticks; @@ -34,6 +35,7 @@ function bindAccountKey(key, keyState) { // =========================================================================== function unBindAccountKey(key) { + logToConsole(LOG_DEBUG, `[Asshat.KeyBind]: Unbinded key ${sdl.getKeyName(key)} (${key})`); unbindKey(key); return true; }