lets not archive players as mobjs

This commit is contained in:
Alug committed 2024-09-22 23:08:33 +02:00
1 parent 172d2bf545
commit cc44a5785d
1 file changed
+1 -1
+1 -1
View File
@@ -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.