Skip to content

Commit

Permalink
Set SUPERMAN_USE_ELEMENT_DATA to false by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ds1-e committed Nov 22, 2024
1 parent 7ec514e commit a420e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [gameplay]/superman/data/ShData.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local isServer = (not triggerServerEvent)
local supermansData = {}

SUPERMAN_USE_ELEMENT_DATA = true -- decides whether script will use built-in MTA data system (setElementData) or custom one, shipped with superman resource
SUPERMAN_USE_ELEMENT_DATA = false -- decides whether script will use built-in MTA data system (setElementData) or custom one, shipped with superman resource

-- in general element data is bad, and shouldn't be used, hence it should be set to false, unless you want to have backwards compatibility

Expand Down

0 comments on commit a420e33

Please sign in to comment.