Corrected comment for the ingame check on 'create' command
This commit is contained in:
parent
623f6bea5a
commit
d89f85cb98
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ def cmd_connect(command):
|
||||||
|
|
||||||
session = command.session
|
session = command.session
|
||||||
|
|
||||||
# Check whether command is being issued in-game
|
# Check whether command is being issued in-game.
|
||||||
if str(session.get_pobject()) != 'None':
|
if str(session.get_pobject()) != 'None':
|
||||||
session.msg("Connect command unavailable in-game")
|
session.msg("Connect command unavailable in-game")
|
||||||
return
|
return
|
||||||
|
|
@ -56,7 +56,7 @@ def cmd_create(command):
|
||||||
"""
|
"""
|
||||||
session = command.session
|
session = command.session
|
||||||
|
|
||||||
#If this command is issued in game,
|
# Check whether command is being issued ingame.
|
||||||
if str(session.get_pobject()) != 'None':
|
if str(session.get_pobject()) != 'None':
|
||||||
session.msg("Create command unavailable in-game")
|
session.msg("Create command unavailable in-game")
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue