Merge pull request #1609 from adityac8/patch-1

Update rpsystem.py
This commit is contained in:
Griatch 2018-04-16 15:53:48 +02:00 committed by GitHub
commit 0cbecfa23e

View file

@ -1088,7 +1088,7 @@ class CmdMask(RPCommand):
if self.cmdstring == "mask": if self.cmdstring == "mask":
# wear a mask # wear a mask
if not self.args: if not self.args:
caller.msg("Usage: (un)wearmask sdesc") caller.msg("Usage: (un)mask sdesc")
return return
if caller.db.unmasked_sdesc: if caller.db.unmasked_sdesc:
caller.msg("You are already wearing a mask.") caller.msg("You are already wearing a mask.")
@ -1111,7 +1111,7 @@ class CmdMask(RPCommand):
del caller.db.unmasked_sdesc del caller.db.unmasked_sdesc
caller.locks.remove("enable_recog") caller.locks.remove("enable_recog")
caller.sdesc.add(old_sdesc) caller.sdesc.add(old_sdesc)
caller.msg("You remove your mask and is again '%s'." % old_sdesc) caller.msg("You remove your mask and are again '%s'." % old_sdesc)
class RPSystemCmdSet(CmdSet): class RPSystemCmdSet(CmdSet):