From cc44a5785d723eb3b6f6f0f5135e88423a3da4e6 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 22 Sep 2024 23:08:24 +0200 Subject: [PATCH] lets not archive players as mobjs --- src/lua_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua_script.c b/src/lua_script.c index af6312428..b4d479658 100644 --- a/src/lua_script.c +++ b/src/lua_script.c @@ -1286,7 +1286,7 @@ void LUA_Archive(savebuffer_t *save, boolean network) // archive function will determine when to skip mobjs, // and write mobjnum in otherwise. - ArchiveExtVars(&save->p, &players[i], "mobj"); + ArchiveExtVars(&save->p, th, "mobj"); } } WRITEUINT32(save->p, UINT32_MAX); // end of mobjs marker, replaces mobjnum.