diff --git a/src/Platform.cpp b/src/Platform.cpp index 72bc1325e..a66c57736 100644 --- a/src/Platform.cpp +++ b/src/Platform.cpp @@ -88,7 +88,9 @@ void DoRestart() } else { +#if !defined(RENDERER) && !defined(FONTEDITOR) Client::Ref().Shutdown(); // very ugly hack; will fix soon(tm) +#endif exit(0); } #elif defined(LIN) || defined(MACOSX)