From e31fa3453e549ca3ebc50c8489317c7a0f826ea8 Mon Sep 17 00:00:00 2001 From: coblyox <55489629+coblyox@users.noreply.github.com> Date: Wed, 20 Nov 2024 21:57:46 +0200 Subject: [PATCH] fix: typo --- modules/apps/client.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/apps/client.lua b/modules/apps/client.lua index 03f42fe..826b507 100644 --- a/modules/apps/client.lua +++ b/modules/apps/client.lua @@ -121,7 +121,7 @@ local function appOpened(id) end if apps[id].onUse then - apps[payload].onUse() + apps[id].onUse() end TriggerServerEvent('fd_laptop:server:appOpened', id) @@ -138,7 +138,7 @@ local function appClosed(id) end if apps[id].onClose then - apps[payload].onClose() + apps[id].onClose() end TriggerServerEvent('fd_laptop:server:appClosed', id)