0ad/binaries/data/mods/public/simulation/helpers/InitGame.js

10 lines
244 B
JavaScript
Raw Normal View History

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