forked from github/server
feh... no idea why that didn't work the way I wanted.
This commit is contained in:
parent
46d7df82dc
commit
e3ee073591
|
@ -1,10 +1,13 @@
|
|||
function kill_multis()
|
||||
local function kill_multis()
|
||||
local multis = [ "ogq", "idan", "e8L1" ]
|
||||
for key in multis do
|
||||
local f = get_faction(atoi36(multis[key]))
|
||||
if f~=nil then
|
||||
f.email="doppelspieler@eressea.de"
|
||||
f.password=""
|
||||
print "Marking " .. f .. " as a multi-player."
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
kill_multis()
|
||||
|
|
|
@ -62,7 +62,6 @@ function process(orders)
|
|||
|
||||
-- kill multi-players (external script)
|
||||
loadscript("eressea-multis.lua")
|
||||
kill_multis()
|
||||
|
||||
-- run the turn:
|
||||
if read_orders(orders) ~= 0 then
|
||||
|
|
Loading…
Reference in New Issue