if not t:
raise GameError('thing of ID %s not found' % thing_id)
t.protection = protection_char
- game.changed = True
+ #game.changed = True
cmd_THING_PROTECTION.argtypes = 'int:pos char'
def cmd_SET_MAP_CONTROL_PASSWORD(game, tile_class, password, connection_id):
if tile_class == '.':
raise GameError('tile class "." must remain unprotected')
game.map_control_passwords[tile_class] = password
- game.changed = True
+ #game.changed = True
cmd_SET_MAP_CONTROL_PASSWORD.argtypes = 'char string'
def cmd_NICK(game, nick, connection_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'