mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix prompt tutorial example
This commit is contained in:
parent
6f255c9ff8
commit
eaff50beb0
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue