Zum Inhalt springen

Modul:Protection banner: Unterschied zwischen den Versionen

use ipairs to make the attempt loop a little more efficient
(wrong way round?)
(use ipairs to make the attempt loop a little more efficient)
Zeile 159: Zeile 159:
for i, t in ipairs(attemptOrder) do
for i, t in ipairs(attemptOrder) do
local key = {}
local key = {}
for j = 1, 5 do
for j, useKeyTable in ipairs(t) do
if t[j] then
if useKeyTable then
key[j] = keyTable[j]
key[j] = keyTable[j]
else
else
Anonymer Benutzer