diff --git a/src/main.cpp b/src/main.cpp index 0a051df..a04e307 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -105,6 +105,7 @@ int rgssThreadFun(void *userdata) /* Start script execution */ scriptBinding->execute(); + threadData->rqTermAck = true; threadData->ethread->requestTerminate(); GlobalState::finiInstance();