LuaEvents: Revert previous commit
authorWuzzy
Tue, 16 Jul 2019 21:15:01 +0100
changeset 1949 36b81d9d8a65
parent 1948 e62b8461ec01
child 1950 f06aa24697b7
LuaEvents: Revert previous commit
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 @@
 <wiki:toc max_depth="3" />
 
 == Initialization ==
-
+=== <tt>onGameInit()</tt> ===
 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].