From 53888b5570945d6ad4036a0fe855b35a9e6d32e0 Mon Sep 17 00:00:00 2001 From: Jasper <40723838+r3ps4J@users.noreply.github.com> Date: Sun, 2 Feb 2025 13:38:22 +0100 Subject: [PATCH] Don't call IsControlJustPressed if isClose is false --- client/interacts.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/interacts.lua b/client/interacts.lua index 8597bfa..d1266fd 100644 --- a/client/interacts.lua +++ b/client/interacts.lua @@ -78,7 +78,7 @@ local function CreateInteractions() currentSelection += 1 end - if IsControlJustPressed(0, 38) and isClose then + if isClose and IsControlJustPressed(0, 38) then local option = options[currentSelection] if option then @@ -169,4 +169,4 @@ CreateThread(function() Wait(threadTimer) end -end) \ No newline at end of file +end)