# HG changeset patch # User Wuzzy # Date 1525306461 -3600 # Node ID 86bada04da8f9474e3a82873e8c6e694dd829f47 # Parent 815d9da643afb332894afc3c6d43749c14e9f84c LuaAPI: Add reference to LuaDrawing diff -r 815d9da643af -r 86bada04da8f LuaAPI.wiki --- a/LuaAPI.wiki Thu May 03 01:13:29 2018 +0100 +++ b/LuaAPI.wiki Thu May 03 01:14:21 2018 +0100 @@ -1191,6 +1191,8 @@ This function must be called within `onGameInit`, where `MapGen` has been set to `mgDrawn`. You also should call `FlushPoints` when you are finished with drawing. +See [LuaDrawning] for some examples. + ==== !FlushPoints() ==== Makes sure that all the points/lines specified using `AddPoint` are actually applied to the map. This function must be called within `onGameInit`.