Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
coblyox committed Nov 20, 2024
1 parent aefb623 commit e31fa34
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 @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit e31fa34

Please sign in to comment.