mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 13:07:16 +02:00
One-liner nitpick.
This commit is contained in:
parent
3ecb46f958
commit
a523f845d1
1 changed files with 1 additions and 4 deletions
|
|
@ -74,10 +74,7 @@ def cmd_destroy(cdat):
|
|||
session.msg("You can't destroy a superuser.")
|
||||
return
|
||||
target_obj = results[0]
|
||||
elif results[0].is_going():
|
||||
session.msg("That object is already destroyed.")
|
||||
return
|
||||
elif results[0].is_garbage():
|
||||
elif results[0].is_going() or results[0].is_garbage():
|
||||
session.msg("That object is already destroyed.")
|
||||
return
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue