From 4997a94cfbeddfa835d4c6d09beaafe840338b87 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Wed, 4 Dec 2024 22:31:28 +0100 Subject: [PATCH] Fix variable naming --- gfx/event.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/event.lua b/gfx/event.lua index fc1816d..d7c248a 100644 --- a/gfx/event.lua +++ b/gfx/event.lua @@ -9,7 +9,7 @@ function Event.getKeyParams(evt) end function Event.isCharEvent(evt, char) - return evt[1] == "char" and (key == nil or evt[2] == key) + return evt[1] == "char" and (char == nil or evt[2] == char) end function Event.getCharValue(evt)