diff --git a/d1x-rebirth/editor/ehostage.cpp b/d1x-rebirth/editor/ehostage.cpp index 2c0b082a9..629381989 100644 --- a/d1x-rebirth/editor/ehostage.cpp +++ b/d1x-rebirth/editor/ehostage.cpp @@ -375,8 +375,7 @@ static window_event_result hostage_dialog_handler(UI_DIALOG *dlg,const d_event & Update_flags |= UF_WORLD_CHANGED; if (GADGET_PRESSED(h->quitButton.get()) || keypress==KEY_ESC) { - hostage_close_window(); - return window_event_result::handled; + return window_event_result::close; } LastHostageIndex = CurrentHostageIndex;