diff -r 607ff7beea3d -r 02b9bbdc2563 LuaDrawing.wiki --- a/LuaDrawing.wiki Thu May 03 01:21:13 2018 +0100 +++ b/LuaDrawing.wiki Thu May 03 01:22:37 2018 +0100 @@ -9,7 +9,7 @@ == Preconditions == First of all, you must make sure that the global variable `MapGen` is set to `mgDrawn`. This is done in `onGameInit`. -To draw maps, you only need 2 functions: `AddPoint` and `FlushPoints`. See LuaAPI for the explanation. +To draw maps, you only need 2 functions: `AddPoint` and `FlushPoints`. See [LuaAPI] for the explanation. You also should not forget to make use of `onPreviewInit` so the map preview is displayed correctly.