Vacuum takes more than 100%
This commit is contained in:
parent
ae838bbbc5
commit
3dcd5db03d
@ -24,7 +24,7 @@ class VacuumMoveCommand(Command):
|
|||||||
tmp = self.world.is_garbage_at(end_x, end_y)
|
tmp = self.world.is_garbage_at(end_x, end_y)
|
||||||
if len(tmp) > 0:
|
if len(tmp) > 0:
|
||||||
for t in tmp:
|
for t in tmp:
|
||||||
if self.vacuum.get_container_filling() < 1000:
|
if self.vacuum.get_container_filling() < 100:
|
||||||
self.vacuum.increase_container_filling()
|
self.vacuum.increase_container_filling()
|
||||||
self.world.dust[end_x][end_y].remove(t)
|
self.world.dust[end_x][end_y].remove(t)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user