Fix: add_seaweed death_cb als Lambda statt gebundener Methode
This commit is contained in:
parent
0730afcb1c
commit
79f42a5f1e
1 changed files with 1 additions and 1 deletions
|
|
@ -443,7 +443,7 @@ class Aquarium:
|
|||
cb_args=[0, 0, 0, anim_speed],
|
||||
default_color='g',
|
||||
die_offscreen=False,
|
||||
death_cb=self.add_seaweed,
|
||||
death_cb=lambda e, aq: aq.add_seaweed(e),
|
||||
die_time=die_t,
|
||||
))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue