Reorganizing

This commit is contained in:
ZioPao
2023-11-11 17:53:04 +01:00
parent a754ae70c4
commit 35ead001b0
18 changed files with 33 additions and 27 deletions

View File

@@ -0,0 +1,10 @@
local CommonMethods = {}
---Returns the side for a certain limb or prosthesis
---@param name string
---@return string "L" or "R"
function CommonMethods.GetSide(name)
if string.find(name, "_L") then return "L" else return "R" end
end
return CommonMethods