ignore comments

This commit is contained in:
Enno Rehling 2015-07-12 16:16:57 +02:00
parent 602f254e22
commit 38ecf783c2
1 changed files with 3 additions and 5 deletions

View File

@ -9,7 +9,9 @@ local function read_players()
local str = input:read("*line") local str = input:read("*line")
if str==nil then break end if str==nil then break end
local email, race, lang = str:match("([^ ]*) ([^ ]*) ([^ ]*)") local email, race, lang = str:match("([^ ]*) ([^ ]*) ([^ ]*)")
table.insert(players, { race = race, lang = lang, email = email }) if string.char(string.byte(email, 1))~='#' then
table.insert(players, { race = race, lang = lang, email = email })
end
end end
return players return players
end end
@ -64,10 +66,6 @@ for _, p in ipairs(players) do
local index = math.random(#sel) local index = math.random(#sel)
start = sel[index] start = sel[index]
end end
<<<<<<< HEAD
=======
create_curse(nil, r, 'holyground', 1, 52)
>>>>>>> hotfix-3-5-3
num_seeded = 0 num_seeded = 0
end end
local dupe = false local dupe = false