Fixed some bugs

This commit is contained in:
Pao
2023-01-14 22:31:23 +01:00
parent 3ce154079a
commit fe197cd2ff
3 changed files with 17 additions and 18 deletions

View File

@@ -28,7 +28,7 @@ function ISBaseTimedAction:adjustMaxTime(maxTime)
for i,name in ipairs(protPartNames) do
if modData.TOC[name].is_cut then
if modData.TOC[name].is_prosthesis_equipped then
maxTime = maxTime * modData.TOC[name].EquipFact --todo this is dumb
maxTime = maxTime * modData.TOC[name].prothesis_factor --TODO this is dumb
else
maxTime = maxTime * 2;
end