Skip to content

Commit

Permalink
refactor(es_extended/client): move core tables to their respective mo…
Browse files Browse the repository at this point in the history
…dules
  • Loading branch information
Mycroft-Studios committed Dec 15, 2024
1 parent 10ee1b9 commit a1d9978
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions [core]/es_extended/client/main.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
Core.Input = {}
Core.Events = {}

ESX.PlayerData = {}
ESX.PlayerLoaded = false
ESX.playerId = PlayerId()
Expand Down
2 changes: 2 additions & 0 deletions [core]/es_extended/client/modules/events.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Core.Events = {}

local pickups = {}

ESX.SecureNetEvent("esx:requestModel", function(model)
Expand Down
4 changes: 3 additions & 1 deletion [core]/es_extended/client/modules/interactions.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Core.Input = {}

local interactions = {}
local pressedInteractions = {}

Expand Down Expand Up @@ -35,4 +37,4 @@ AddEventHandler("onResourceStop", function(resource)
interactions[name] = nil
end
end
end)
end)

0 comments on commit a1d9978

Please sign in to comment.