From 3dcd5db03dfc4a6c0157f849bb6647184506a34a Mon Sep 17 00:00:00 2001 From: Mateusz Dokowicz Date: Thu, 25 May 2023 16:23:56 +0200 Subject: [PATCH] Vacuum takes more than 100% --- domain/commands/vacuum_move_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain/commands/vacuum_move_command.py b/domain/commands/vacuum_move_command.py index 258b0da..7cbb760 100644 --- a/domain/commands/vacuum_move_command.py +++ b/domain/commands/vacuum_move_command.py @@ -24,7 +24,7 @@ class VacuumMoveCommand(Command): tmp = self.world.is_garbage_at(end_x, end_y) if len(tmp) > 0: for t in tmp: - if self.vacuum.get_container_filling() < 1000: + if self.vacuum.get_container_filling() < 100: self.vacuum.increase_container_filling() self.world.dust[end_x][end_y].remove(t)