0ad/binaries/data/mods/public/simulation/helpers/InitGame.js
Ykkrosh 10c5dbcba4 Fix Atlas and autostart.
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.
2010-10-30 13:27:23 +00:00

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);