This commit is contained in:
2021-10-29 17:18:27 -04:00
parent 654156c70e
commit b9acddde68

View File

@@ -1322,13 +1322,18 @@ function THTD_GetCombo(tower)
isInCombo = true isInCombo = true
end end
end end
if count > 0 then
print("Count " .. count)
print("#value " .. #value)
print("isincombo " .. isInCombo)
end
if count == #value and isInCombo == true then if count == #value and isInCombo == true then
comboTable[index] = value comboTable[index] = value
end end
end end
if comboTable ~= nil then if comboTable ~= nil then
print(table.tostring(comboTable)) print(comboTable)
return comboTable return comboTable
end end
return nil return nil