]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fixed saves breaking with entrypoint
authorReki <spiper212@gmail.com>
Mon, 24 May 2021 16:30:00 +0000 (12:30 -0400)
committerReki <spiper212@gmail.com>
Mon, 24 May 2021 16:30:00 +0000 (12:30 -0400)
sv_save.c

index a90b439a1c33f86d346da3610d140c28d5315774..4a0e9339c18f3885c22b63d8a1dccaf2ff65aa3c 100644 (file)
--- a/sv_save.c
+++ b/sv_save.c
@@ -59,8 +59,6 @@ void SV_Savegame_to(prvm_prog_t *prog, const char *name)
        if (PRVM_serverfunction(SaveTriggered))
        {
                Con_DPrint("Calling SaveTriggered\n");
-               PRVM_serverglobalfloat(time) = sv.time;
-               PRVM_serverglobaledict(self) = PRVM_EDICT_TO_PROG(host_client->edict);
                prog->ExecuteProgram(prog, PRVM_serverfunction(SaveTriggered), "QC function SaveTriggered is missing");
        }