From d73afa6b54363052ac72abcf9ab60a47a80f7e1b Mon Sep 17 00:00:00 2001 From: Griatch Date: Fri, 6 Jan 2023 21:03:30 +0100 Subject: [PATCH] Fix in tutorial. Resolve #3047 --- .../Part1/Beginner-Tutorial-Searching-Things.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Searching-Things.md b/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Searching-Things.md index 6e4ac630d6..d6c6b51821 100644 --- a/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Searching-Things.md +++ b/docs/source/Howtos/Beginner-Tutorial/Part1/Beginner-Tutorial-Searching-Things.md @@ -81,9 +81,9 @@ inherits from `DefaultObject`! This simple little Command takes its arguments and searches for a match. If it can't find it, `result` will be `None`. The error has already been reported to `self.caller` so we just abort with `return`. -You can use `.search` to find anything, not just stuff in the same room: +With the `global_search` flag, you can use `.search` to find anything, not just stuff in the same room: - volcano = self.caller.search("Vesuvio", global=True) + volcano = self.caller.search("Vesuvio", global_search=True) You can limit your matches to particular typeclasses: