LuaAPI: fix SetMaxBuildDistance documentation
authorWuzzy
Sun, 13 Mar 2016 08:55:23 +0000
changeset 790 1c4b787e841d
parent 789 6693fdfb6876
child 791 4d6610c3e9a3
LuaAPI: fix SetMaxBuildDistance documentation
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.