diff -r 3cc17b9eed3f -r e62b8461ec01 LuaEvents.wiki
--- a/LuaEvents.wiki Mon Jul 15 15:46:50 2019 +0100
+++ b/LuaEvents.wiki Tue Jul 16 21:14:31 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].