forked from your-land-mirror/player_settings
9 lines
175 B
Lua
9 lines
175 B
Lua
local _ps = player_settings
|
|
_ps.util = {}
|
|
|
|
_ps.util.idx_in_table = function(tb,v)
|
|
for i,tv in ipairs(tb) do
|
|
if tv == v then return i end
|
|
end
|
|
return nil
|
|
end |