removing debug messages
This commit is contained in:
@@ -161,23 +161,18 @@ function THTD_GetCombo(tower)
|
|||||||
|
|
||||||
for k,v in pairs(value) do
|
for k,v in pairs(value) do
|
||||||
if THTD_IsTowerInList(tower:GetOwner(),v) == true then
|
if THTD_IsTowerInList(tower:GetOwner(),v) == true then
|
||||||
print(v)
|
|
||||||
count = count + 1
|
count = count + 1
|
||||||
end
|
end
|
||||||
if tower:GetUnitName() == v then
|
if tower:GetUnitName() == v then
|
||||||
print(v)
|
|
||||||
isInCombo = true
|
isInCombo = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
print("Count " .. count)
|
|
||||||
print("#value " .. #value)
|
|
||||||
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(comboTable)
|
|
||||||
return comboTable
|
return comboTable
|
||||||
end
|
end
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user