Fixed overriden functions

This commit is contained in:
Pao
2023-01-17 23:58:46 +01:00
parent 8656bd5696
commit e8944d93c8
3 changed files with 39 additions and 101 deletions

View File

@@ -11,7 +11,7 @@ end
function GetInstallableProsthesisList()
-- To make it future proff since i'm gonna add stuff, let's cycle through already known prosthesis
-- To make it future proof since i'm gonna add stuff, let's cycle through already known prosthesis
local prosthesis_list = GetProsthesisList()
local sides = {"right", "left"}
@@ -22,15 +22,10 @@ function GetInstallableProsthesisList()
for _, prost in pairs(prosthesis_list) do
for _, body_part in pairs(body_parts) do
local installable_prost = prost .. "_" .. side .. "_no" .. body_part
print(installable_prost)
table.insert(installed_prosthesis_list, installable_prost)
end
end
end
return installed_prosthesis_list