diff -r 86bada04da8f -r b2b22eeaf5c1 LuaDrawing.wiki --- a/LuaDrawing.wiki Thu May 03 01:14:21 2018 +0100 +++ b/LuaDrawing.wiki Thu May 03 01:15:29 2018 +0100 @@ -34,7 +34,9 @@ This one fills the map with solid land, and draws 4 circular erased points in it. -The final line `onPreviewInit = onGameInit` makes sure the map preview works properly. This is the simplest way to create the preview and is a perfectly reasonable approach in this case, because the code is very simple here. The reason why `onPreviewInit` is provided is because it allows you to avoid unneccessary overhead in more complex Lua scripts. +The final line `onPreviewInit = onGameInit` makes sure the map preview works properly. This is the simplest way to create the preview and is a perfectly reasonable approach in this case, because the code is very simple here. + +Note: The reason why `onPreviewInit` is provided in the official Lua API is because it allows you to avoid unneccessary overhead in more complex Lua scripts. Screenshot here!