home · contact · privacy
Fix Bottle.thing_char on emptiness command.
[plomrogue2] / plomrogue / commands.py
index dea4b63d4c4c69e0d42b8abc90a7c345c2945312..7a05ae8fa07bd0a9e8150ef53bc4c645bc509556 100644 (file)
@@ -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'