forked from github/server
deal with jsonconf defaults.
This commit is contained in:
parent
84bc08a381
commit
89ecc54bdd
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ function setup()
|
||||||
eressea.free_game()
|
eressea.free_game()
|
||||||
conf = [[{
|
conf = [[{
|
||||||
"races": {
|
"races": {
|
||||||
"human" : {}
|
"human" : { "flags" : [ "player" ] }
|
||||||
},
|
},
|
||||||
"terrains" : {
|
"terrains" : {
|
||||||
"plain": { "flags" : [ "land", "walk", "sail" ] }
|
"plain": { "flags" : [ "land", "walk", "sail" ] }
|
||||||
|
@ -61,7 +61,7 @@ end
|
||||||
|
|
||||||
function test_make_temp()
|
function test_make_temp()
|
||||||
local r = region.create(0, 0, "plain")
|
local r = region.create(0, 0, "plain")
|
||||||
local f1 = faction.create("human", "owner@eressea.de", "de")
|
local f1 = faction.create("human", "temp@eressea.de", "de")
|
||||||
local u1 = unit.create(f1, r, 10)
|
local u1 = unit.create(f1, r, 10)
|
||||||
local u, u2
|
local u, u2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue