From: Christian Heller Date: Thu, 3 Dec 2020 05:47:55 +0000 (+0100) Subject: Fix Bottle.thing_char on emptiness command. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7Bprefix%7D%7D/conditions?a=commitdiff_plain;h=d23e0cac52c9ccc215c7c2d8e62ea29c6f7620bf;p=plomrogue2 Fix Bottle.thing_char on emptiness command. --- diff --git a/plomrogue/commands.py b/plomrogue/commands.py index dea4b63..7a05ae8 100644 --- a/plomrogue/commands.py +++ b/plomrogue/commands.py @@ -312,5 +312,5 @@ def cmd_THING_BOTTLE_EMPTY(game, thing_id): raise GameError('thing of ID %s not found' % thing_id) if not t.type_ == 'Bottle': raise GameError('thing of ID %s not bottle' % thing_id) - t.full = False + t.empty() cmd_THING_BOTTLE_EMPTY.argtypes = 'int:pos'