diff --git a/fxmanifest.lua b/fxmanifest.lua index 83aa11b..72547d6 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -4,7 +4,7 @@ lua54 'yes' use_experimental_fxv2_oal 'yes' author 'The Order of the Sacred Framework' description 'A bridge made for the community to use as a base for their own projects. This bridge will allow a single format to work with nearly all commonly used systems while still offering expandability.' -version '0.2.6' +version '0.2.7' shared_scripts { '@ox_lib/init.lua', diff --git a/modules/target/ox_target/client.lua b/modules/target/ox_target/client.lua index f3c955e..3dbba1b 100644 --- a/modules/target/ox_target/client.lua +++ b/modules/target/ox_target/client.lua @@ -21,9 +21,9 @@ Target.FixOptions = function(options) if type(entityOrData) == 'table' then return action(entityOrData.entity) end - return action(entityOrData) + return action(entityOrData) end - options[k].onSelect = action + options[k].onSelect = select end return options end diff --git a/modules/target/qb-target/client.lua b/modules/target/qb-target/client.lua index ec54bde..461ec42 100644 --- a/modules/target/qb-target/client.lua +++ b/modules/target/qb-target/client.lua @@ -22,7 +22,7 @@ Target.FixOptions = function(options) end return action(entityOrData) end - options[k].onSelect = action + options[k].action = select end return options end