forked from github/server
warning about scripts
small crashfix in autoseed
This commit is contained in:
parent
29bb5f4ceb
commit
322512d0cb
2 changed files with 5 additions and 1 deletions
|
@ -1022,7 +1022,7 @@ build_island_e3(int x, int y, int numfactions, int minsize)
|
|||
prepare_starting_region(r);
|
||||
}
|
||||
r->land->money = 50000; /* 2% = 1000 silver */
|
||||
} else {
|
||||
} else if (r->land) {
|
||||
r->land->money *= 4;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,6 +50,10 @@ end
|
|||
|
||||
function process(orders)
|
||||
-- initialize starting equipment for new players
|
||||
if open_game==nil then
|
||||
print("did you load default.lua?")
|
||||
return -1
|
||||
end
|
||||
|
||||
if open_game(get_turn())~=0 then
|
||||
print("could not read game")
|
||||
|
|
Loading…
Reference in a new issue