fix timedemo not accounting for level and addon loading

apparently demos used to send a mapcmd before instead of directly calling G_InitNew, so this function was never called which meant that timedemos always returned a wrong result first time
This commit is contained in:
alufolie91 committed 2026-03-23 19:05:37 +01:00
1 parent 8af43a55c9
commit 654895dcff
1 file changed
+3
+3
View File
@@ -3090,6 +3090,9 @@ post_compat:
if (cv_director.value)
CV_SetValue(&cv_director, 0);
if (demo.timing)
G_DoneLevelLoad();
demo.deferstart = true;
}
#undef SKIPERRORS