Fix call to interrupt method after acfb3d9ddd

This commit is contained in:
Julian Murgia
2022-08-18 22:14:47 +02:00
committed by Duncan Brown
parent 04348147b9
commit 238b1d28f1
2 changed files with 7 additions and 1 deletions

View File

@@ -564,7 +564,7 @@ func perform_inputevent_on_object(
# Manage exits
if obj.node.is_exit and current_action in ["", ACTION_WALK]:
escoria.event_manager.interrupt_running_event()
escoria.event_manager.interrupt()
escoria.event_manager.clear_event_queue()
_activate(ACTION_EXIT_SCENE, obj)
else: