From 5640c3d04b3ce2e94abf6800458fe1c458e4025c Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Sat, 19 Jul 2014 02:59:05 +0200 Subject: [PATCH] Print RGSS thread error message to console --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 1ef61fb..187e6b3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -284,8 +284,11 @@ int main(int argc, char *argv[]) "The RGSS script seems to be stuck and mkxp will now force quit", win); if (!rtData.rgssErrorMsg.empty()) + { + Debug() << rtData.rgssErrorMsg; SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, conf.game.title.c_str(), rtData.rgssErrorMsg.c_str(), win); + } /* Clean up any remainin events */ eventThread.cleanup();