diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 491e8e395..cb8c7bba8 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -50,4 +50,5 @@ 25. [esx_status]: refactor: remove jquery + Remove some shitty lines @bitpredator 26. [esx_status/server]: fix: unused argument @bitpredator 27. [esx_addoninventory]: chore: check for nil society @bitpredator -28. [npwd]: chore: npwd update to version 1.8.6 @bitpredator \ No newline at end of file +28. [npwd]: chore: npwd update to version 1.8.6 @bitpredator +29. [bpt_deliveries]: chore: clean up the code @bitpredator \ No newline at end of file diff --git a/server-data/resources/[bpt_addons]/bpt_deliveries/client/main.lua b/server-data/resources/[bpt_addons]/bpt_deliveries/client/main.lua index 37c9cae7d..7b1d818f7 100644 --- a/server-data/resources/[bpt_addons]/bpt_deliveries/client/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_deliveries/client/main.lua @@ -1,4 +1,3 @@ -ESX = nil local Status = { DELIVERY_INACTIVE = 0, PLAYER_STARTED_DELIVERY = 1, diff --git a/server-data/resources/[bpt_addons]/bpt_deliveries/server/main.lua b/server-data/resources/[bpt_addons]/bpt_deliveries/server/main.lua index 7b91a4b3d..544aa8081 100644 --- a/server-data/resources/[bpt_addons]/bpt_deliveries/server/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_deliveries/server/main.lua @@ -1,4 +1,3 @@ -ESX = nil ESX = exports["es_extended"]:getSharedObject() -- Register events