# HG changeset patch # User Wuzzy # Date 1563308101 -3600 # Node ID 36b81d9d8a6562db04523b521ac0d30551404d70 # Parent e62b8461ec0166465c91c4a19df07e6586211972 LuaEvents: Revert previous commit diff -r e62b8461ec01 -r 36b81d9d8a65 LuaEvents.wiki --- a/LuaEvents.wiki Tue Jul 16 21:14:31 2019 +0100 +++ b/LuaEvents.wiki Tue Jul 16 21:15:01 2019 +0100 @@ -9,7 +9,7 @@ == Initialization == - +=== onGameInit() === This function is called before the game loads its resources. One can read and modify various [LuaGlobals#Game_variables game variables] here. These variables will become globally available after `onGameInit` has been invoked, but changing them has only an effect in `onGameInit`. Most game variables are optional, but for missions, `Theme` must be set by the scripter if you want to use a random map, rather than an image map. All other variables do not need to be set by the scripter and have default values. For a list of game variables that can be set here, see [LuaGlobals#Game_variables].