mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix the get_value inputfunc to return both name and value.
This commit is contained in:
parent
1b92c036a1
commit
7a3b3ceb76
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ def get_value(session, *args, **kwargs):
|
|||
name = kwargs.get("name", "")
|
||||
obj = session.puppet or session.player
|
||||
if name in _gettable:
|
||||
session.msg(get_value=_gettable[name](obj))
|
||||
session.msg(get_value={"name": name, "value": _gettable[name](obj)})
|
||||
|
||||
|
||||
def _testrepeat(**kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue