Allow SendNetworkEvent during title level.

This commit is contained in:
Marisa the Magician 2022-05-20 12:46:43 +02:00 committed by Christoph Oelckers
parent c6092ef07e
commit 2aa79bd538

View file

@ -162,7 +162,7 @@ bool EventManager::UnregisterHandler(DStaticEventHandler* handler)
bool EventManager::SendNetworkEvent(FString name, int arg1, int arg2, int arg3, bool manual)
{
if (gamestate != GS_LEVEL)
if (gamestate != GS_LEVEL && gamestate != GS_TITLELEVEL)
return false;
Net_WriteByte(DEM_NETEVENT);