Használt szobor eltüntetése
This commit is contained in:
@@ -114,7 +114,7 @@ def update(game, dt):
|
||||
|
||||
for o in objects:
|
||||
if o.interactive and aabb_check(*int_aabb, *o.get_aabb()):
|
||||
o.on_interact(start_battle)
|
||||
o.on_interact(start_battle, lambda o: objects.remove(o))
|
||||
|
||||
if controls.is_control_pressed(0): # Fel
|
||||
balthasar.set_direction(DIR_UP)
|
||||
|
||||
Reference in New Issue
Block a user