# HG changeset patch # User Wuzzy # Date 1525306957 -3600 # Node ID 02b9bbdc25636c20bb35c3b67766d7fcf872a3bc # Parent 607ff7beea3d300c74c2154da67135d9e0a19b4f LuaDrawing: add LuaAPI link 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.