fixing-Errors #24
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user