mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 15:26:30 +01:00
Changed the flag save_next to save_for_next, it makes more sense.
This commit is contained in:
parent
6e53e6a1fd
commit
6fdfbe657b
2 changed files with 3 additions and 3 deletions
|
|
@ -238,7 +238,7 @@ def cmdhandler(caller, raw_string, testing=False):
|
|||
# post-command hook
|
||||
cmd.at_post_cmd()
|
||||
|
||||
if cmd.save_next:
|
||||
if cmd.save_for_next:
|
||||
# store a reference to this command, possibly
|
||||
# accessible by the next command.
|
||||
caller.ndb.last_cmd = copy(cmd)
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ class CommandMeta(type):
|
|||
except Exception:
|
||||
mcs.aliases = []
|
||||
mcs.aliases = [str(alias).strip() for alias in mcs.aliases]
|
||||
if not hasattr(mcs, "save_next"):
|
||||
mcs.save_next = False
|
||||
if not hasattr(mcs, "save_for_next"):
|
||||
mcs.save_for_next = False
|
||||
|
||||
# pre-process locks as defined in class definition
|
||||
temp = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue