# HG changeset patch # User Wuzzy # Date 1525306994 -3600 # Node ID d0f79e82858129c94f7fb69778e834740b12370b # Parent 02b9bbdc25636c20bb35c3b67766d7fcf872a3bc LuaDrawing: call functions diff -r 02b9bbdc2563 -r d0f79e828581 LuaDrawing.wiki --- a/LuaDrawing.wiki Thu May 03 01:22:37 2018 +0100 +++ b/LuaDrawing.wiki Thu May 03 01:23:14 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 to call 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.