reset demo stuff for multiplayer demos when using connect command

so if smth happens and we cannot connect the game wont be stuck in some weird replay limbo state
This commit is contained in:
Alug committed 2025-04-18 11:24:46 +02:00
1 parent c4fd47657e
commit 963eb427cf
1 file changed
+4
+4
View File
@@ -3170,7 +3170,11 @@ static void Command_connect(void)
if (Playing() || demo.title || demo.playback)
{
if (demo.title || demo.playback)
{
G_CheckDemoStatus();
if (multiplayer && !demo.title) // dumb hack: G_CheckDemoStatus doesent call G_StopDemo for multiplayer demos
G_StopDemo();
}
if (netgame)
{