forked from 0ad/0ad
Ykkrosh
10c5dbcba4
Fix non-POD in varargs. Remove misleading max_players config variable (the engine doesn't care about it, all the limits are hard-coded). Remove civ-center-based player civ initialisation hack. Add dummy player_defaults.json. Clean up formatting a bit. This was SVN commit r8498.
10 lines
244 B
JavaScript
10 lines
244 B
JavaScript
function InitGame(settings)
|
|
{
|
|
// This will be called after the map (settings) have been loaded, before the simulation has started.
|
|
// TODO: Is this even needed?
|
|
if (!settings)
|
|
settings = {};
|
|
}
|
|
|
|
Engine.RegisterGlobal("InitGame", InitGame);
|