diff --git a/roguebasin/events.py b/roguebasin/events.py index 5d8a025..aba2b0c 100644 --- a/roguebasin/events.py +++ b/roguebasin/events.py @@ -79,7 +79,7 @@ class EventHandler(tcod.event.EventDispatch[Action]): return result def ev_quit(self, event: tcod.event.Quit) -> Optional[Action]: - return ExitAction() + return ExitAction(self.engine.hero) def ev_keydown(self, event: tcod.event.KeyDown) -> Optional[Action]: action: Optional[Action] = None