diff -r a5a87fba78fa -r 1d2aeacbdd8e LuaGears.wiki --- a/LuaGears.wiki Fri Apr 19 14:56:28 2019 +0100 +++ b/LuaGears.wiki Fri Apr 19 15:16:14 2019 +0100 @@ -567,11 +567,11 @@ Returns true if hedgehog gear is hidden (e.g. via `HideHog` or the !TimeBox), false if it isn't, nil if that hedgehog never existed. === `HideHog(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). +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). You must not hide all hogs at once. Example: - gear = AddGear(...) + local gear = AddHog(...) HideHog(gear) -- Hide the newly created gear. === `RestoreHog(gearUid)` === @@ -579,7 +579,7 @@ Example: - gear = AddGear(...) + local gear = AddHog(...) HideHog(gear) -- Hide the newly created gear. RestoreHog(gear) -- Restore the newly hidden gear.