engine: common: throw an error message into log in normal mode too!

This commit is contained in:
Alibek Omarov 2022-12-02 21:22:22 +03:00
parent e97310c441
commit ebf3877cda

View File

@ -435,6 +435,7 @@ void Sys_Error( const char *error, ... )
Wcon_ShowConsole( false ); Wcon_ShowConsole( false );
#endif #endif
MSGBOX( text ); MSGBOX( text );
Sys_Print( text );
} }
else else
{ {
@ -445,7 +446,7 @@ void Sys_Error( const char *error, ... )
Sys_Print( text ); // print error message Sys_Print( text ); // print error message
Sys_WaitForQuit(); Sys_WaitForQuit();
} }
Sys_Quit(); Sys_Quit();
} }