diff --git a/UI/CwCheatScreen.cpp b/UI/CwCheatScreen.cpp index fdc0810117..b5fde7d5f6 100644 --- a/UI/CwCheatScreen.cpp +++ b/UI/CwCheatScreen.cpp @@ -211,6 +211,7 @@ UI::EventReturn CwCheatScreen::OnImportCheat(UI::EventParams ¶ms) { if (!in) { WARN_LOG(COMMON, "Unable to open %s\n", cheatFile.c_str()); + return UI::EVENT_SKIPPED; } char linebuf[2048]{};