From 2aa79bd538b7d3fc149a1685521f87acf47d2f70 Mon Sep 17 00:00:00 2001 From: Marisa the Magician Date: Fri, 20 May 2022 12:46:43 +0200 Subject: [PATCH] Allow SendNetworkEvent during title level. --- src/events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events.cpp b/src/events.cpp index 6da8118bb..d3a739495 100755 --- a/src/events.cpp +++ b/src/events.cpp @@ -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);