X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=host.c;h=dbad918f04bd65a6e7dc45bf07853f3c55cd13a9;hp=f00b8e6d0623a3caa18779d6afe507076b8fa1f6;hb=c3ea7019c9ce6dd91e6f40a027a45cd27da17385;hpb=48dd57adb791a8866bc12f96ad81e2c7712fae7a diff --git a/host.c b/host.c index f00b8e6d..dbad918f 100644 --- a/host.c +++ b/host.c @@ -801,6 +801,11 @@ void Host_Main(void) // send all messages to the clients SV_SendClientMessages(); + + if (sv.paused == 1 && realtime > sv.pausedstart && sv.pausedstart > 0) { + prog->globals.generic[OFS_PARM0] = realtime - sv.pausedstart; + PRVM_ExecuteProgram(prog->funcoffsets.SV_PausedTic, "QC function SV_PausedTic is missing"); + } // end the server VM frame SV_VM_End();