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.")
|
session.msg("You can't destroy a superuser.")
|
||||||
return
|
return
|
||||||
target_obj = results[0]
|
target_obj = results[0]
|
||||||
elif results[0].is_going():
|
elif results[0].is_going() or results[0].is_garbage():
|
||||||
session.msg("That object is already destroyed.")
|
|
||||||
return
|
|
||||||
elif results[0].is_garbage():
|
|
||||||
session.msg("That object is already destroyed.")
|
session.msg("That object is already destroyed.")
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue