X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/ledger2?a=blobdiff_plain;f=plomrogue%2Fcommands.py;h=5b8bb28293fbff0b5baa5a37a69f6b14fc499e68;hb=cd0fee3d91d70525d7d4f434985abad6ea73faf0;hp=3a727ad4885333527e114f0a019b57d5abc5c9e6;hpb=4a49836086c55c2736bcc7def243f6c4a72ae690;p=plomrogue2 diff --git a/plomrogue/commands.py b/plomrogue/commands.py index 3a727ad..5b8bb28 100644 --- a/plomrogue/commands.py +++ b/plomrogue/commands.py @@ -287,9 +287,7 @@ def cmd_THING_DOOR_CLOSED(game, thing_id): raise GameError('thing of ID %s not found' % thing_id) if not t.type_ == 'Door': raise GameError('thing of ID %s not door' % thing_id) - t.blocking = True - t.portable = False - t.thing_char = '#' + t.close() cmd_THING_DOOR_CLOSED.argtypes = 'int:pos' def cmd_THING_MUSICPLAYER_SETTINGS(game, thing_id, playing, index, repeat):