mirror of
https://github.com/evennia/evennia.git
synced 2026-04-06 07:57:16 +02:00
Typo fix in evadventure/utils.py
Incorrectly uses attack_type for both attack and defense in get_obj_stats
This commit is contained in:
parent
f2a5c5a85a
commit
86174b7a20
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ def get_obj_stats(obj, owner=None):
|
|||
carried = f", Worn: [{carried.value}]" if carried else ""
|
||||
|
||||
attack_type = getattr(obj, "attack_type", None)
|
||||
defense_type = getattr(obj, "attack_type", None)
|
||||
defense_type = getattr(obj, "defense_type", None)
|
||||
|
||||
return _OBJ_STATS.format(
|
||||
key=obj.key,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue