From e3e8361740441d239b608fbf7864e32ba8963819 Mon Sep 17 00:00:00 2001 From: 2Max Date: Mon, 3 Jun 2024 15:36:15 +0200 Subject: [PATCH] Add key binding for config --- client/main.lua | 2 +- config.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/main.lua b/client/main.lua index 2abaf719..b8d76ac6 100644 --- a/client/main.lua +++ b/client/main.lua @@ -469,7 +469,7 @@ RegisterCommand('phone', function() end end) -RegisterKeyMapping('phone', 'Open Phone', 'keyboard', 'M') +RegisterKeyMapping('phone', 'Open Phone', 'keyboard', Config.OpenPhone) -- NUI Callbacks diff --git a/config.lua b/config.lua index bfe8766b..cad86da6 100644 --- a/config.lua +++ b/config.lua @@ -6,7 +6,7 @@ Config.Linux = false -- True if linux Config.TweetDuration = 12 -- How many hours to load tweets (12 will load the past 12 hours of tweets) Config.RepeatTimeout = 2000 Config.CallRepeats = 10 -Config.OpenPhone = 244 +Config.OpenPhone = 'M' Config.PhoneApplications = { ['phone'] = { app = 'phone',