LuaAPI: Update HideHog
authorWuzzy
Thu, 27 Apr 2017 18:10:11 +0100
changeset 1004 94d046b03855
parent 1003 a4f8e22e15c6
child 1005 02833f7365e4
LuaAPI: Update HideHog
LuaAPI.wiki
--- a/LuaAPI.wiki	Thu Apr 27 17:52:16 2017 +0100
+++ b/LuaAPI.wiki	Thu Apr 27 18:10:11 2017 +0100
@@ -628,7 +628,7 @@
 == Functions to modify gears ==
 
 === <tt>!HideHog(gearUid)</tt> ===
-Removes a hedgehog from the map. The hidden hedgehog can be restored with `RestoreHog(gearUid)`.
+Removes a hedgehog from the map. The hidden hedgehog can be restored with `RestoreHog(gearUid)`. Since 0.9.23, returns `true` on success and `false` on failure (if gear does not exist / hog is already hidden).
 
 Example: