# HG changeset patch # User Wuzzy # Date 1457859323 0 # Node ID 1c4b787e841da61abc31adcaecf1ff67ed3fdf01 # Parent 6693fdfb6876ad652d6eb87d18aa5a035e170968 LuaAPI: fix SetMaxBuildDistance documentation diff -r 6693fdfb6876 -r 1c4b787e841d LuaAPI.wiki --- a/LuaAPI.wiki Wed Mar 09 03:30:58 2016 +0000 +++ b/LuaAPI.wiki Sun Mar 13 08:55:23 2016 +0000 @@ -889,7 +889,7 @@ Sets the current wind in the range of -100 to 100. Use together with `gfDisableWind` for full control. ==== <tt>!SetMaxBuildDistance(distInPx)</tt> (0.9.22) ==== -Sets the maximum building distance for of girders and rubber bands in pixels to `distInPx`. If `distInPx` is `0`, the limit is disabled. If `distInPx` is `nil`, the distance will be reset to the default value. +Sets the maximum building distance for of girders and rubber bands in pixels to `distInPx`. If `distInPx` is `0`, the limit is disabled. If called without arguments, the distance will be reset to the default value. ==== <tt>!EndGame()</tt> ==== Makes the game end.