fixed bug with collecting garbage
This commit is contained in:
parent
8244372044
commit
f5bc39f5ab
@ -35,8 +35,7 @@ class Garbage_collector(Cell):
|
||||
def collect_trash(self, house):
|
||||
global GC_CAPACITY
|
||||
rubbish = house.get_rubbish_data()
|
||||
to_collect = [0,0,0]
|
||||
to_collect = rubbish
|
||||
to_collect = rubbish.copy()
|
||||
|
||||
dic = {
|
||||
0: "plastic",
|
||||
|
Loading…
Reference in New Issue
Block a user