Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
coblyox committed Dec 2, 2024
1 parent fb0759a commit c353a80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/apps/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ local function appOpened(id)
end

if apps[id].onUse then
apps[payload].onUse()
apps[id].onUse()
end

TriggerServerEvent('fd_laptop:server:appOpened', id)
Expand All @@ -146,7 +146,7 @@ local function appClosed(id)
end

if apps[id].onClose then
apps[payload].onClose()
apps[id].onClose()
end

TriggerServerEvent('fd_laptop:server:appClosed', id)
Expand Down

0 comments on commit c353a80

Please sign in to comment.