refactoring

This commit is contained in:
Manuel Simon Hirsig
2018-01-02 14:11:35 +01:00
parent af4cb19b25
commit ba05d8fd9a
+1 -1
View File
@@ -309,7 +309,7 @@ end
function unitscan.sorted_targets()
local sorted_targets = {}
for key, _ in pairs(unitscan_targets) do
for key in pairs(unitscan_targets) do
tinsert(sorted_targets, key)
end
sort(sorted_targets, function(key1, key2) return key1 < key2 end)