Fix prompt tutorial example

This commit is contained in:
Griatch 2024-08-18 12:46:24 +02:00
parent 6f255c9ff8
commit eaff50beb0
2 changed files with 2 additions and 1 deletions

View file

@ -48,7 +48,7 @@ Here is a simple example of the prompt sent/updated from a command class:
if not self.args:
target = self.caller
else:
target = self.search(self.args)
target = self.caller.search(self.args)
if not target:
return
# try to get health, mana and stamina