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

9 lines
274 B
JavaScript
Raw Normal View History

function InitGame(data)
{
// This will be called after the map has been loaded, before the simulation has started.
// It should initialise the game based on parameters passed from the GUI, e.g. player
// names and colours.
}
Engine.RegisterGlobal("InitGame", InitGame);