1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Update Main.cpp

This commit is contained in:
Sandu Liviu Catalin 2021-03-28 01:07:46 +02:00
parent cd55e51d62
commit 72b4f661e6

View File

@ -108,6 +108,8 @@ static uint8_t OnServerInitialise()
{
SQMOD_SV_EV_TRACEBACK("[TRACE>] OnServerInitialise")
OutputError("Unable to load the plug-in resources properly");
// The server may not invoke the shutdown callback
Core::Get().Terminate(true);
// Failed to initialize
return SQMOD_FAILURE;
}