Add script.obj.dbref to scripts output. Resolves #2167

This commit is contained in:
Griatch 2020-07-18 19:25:37 +02:00
parent e58147a7e5
commit 54e70a40b7
2 changed files with 2 additions and 2 deletions

View file

@ -446,7 +446,7 @@ def format_script_list(scripts):
table.add_row( table.add_row(
script.id, script.id,
script.obj.key if (hasattr(script, "obj") and script.obj) else "<Global>", f"{script.obj.key}({script.obj.dbref})" if (hasattr(script, "obj") and script.obj) else "<Global>",
script.key, script.key,
script.interval if script.interval > 0 else "--", script.interval if script.interval > 0 else "--",
nextrep, nextrep,