New maps get player data per #590, and some minor bugfixes
This was SVN commit r8496.
This commit is contained in:
parent
22672e69d9
commit
5567727bd1
@ -181,8 +181,9 @@ function toTitleCase (string)
|
||||
// Load default player data, for when it's not otherwise specified
|
||||
function initPlayerDefaults()
|
||||
{
|
||||
var filename = "simulation/data/player_defaults.json";
|
||||
var defaults = [];
|
||||
var rawData = readFile("simulation/data/player_defaults.json");
|
||||
var rawData = readFile(filename);
|
||||
if (!rawData)
|
||||
error("Failed to read player defaults file: "+filename);
|
||||
|
||||
|
@ -6,4 +6,4 @@
|
||||
<include>civinfo/civinfo.xml</include>
|
||||
<include>civinfo/setup.xml</include>
|
||||
<include>civinfo/sprites.xml</include>
|
||||
</page>
|
||||
</page>
|
BIN
binaries/data/mods/public/maps/scenarios/Saharan Oases.xml
(Stored with Git LFS)
BIN
binaries/data/mods/public/maps/scenarios/Saharan Oases.xml
(Stored with Git LFS)
Binary file not shown.
BIN
binaries/data/mods/public/maps/scenarios/shipattacks.xml
(Stored with Git LFS)
BIN
binaries/data/mods/public/maps/scenarios/shipattacks.xml
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user