mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-03 06:11:03 +00:00
Allow SendNetworkEvent during title level.
This commit is contained in:
parent
c6092ef07e
commit
2aa79bd538
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ bool EventManager::UnregisterHandler(DStaticEventHandler* handler)
|
||||||
|
|
||||||
bool EventManager::SendNetworkEvent(FString name, int arg1, int arg2, int arg3, bool manual)
|
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;
|
return false;
|
||||||
|
|
||||||
Net_WriteByte(DEM_NETEVENT);
|
Net_WriteByte(DEM_NETEVENT);
|
||||||
|
|
Loading…
Reference in a new issue