do not attempt to netsync locally spawned mobjs

it is generally not really advised to locally load addons as a host as that might cause issues
This commit is contained in:
alufolie91 committed 2026-10-15 10:12:24 +02:00
1 parent 11b9fecd84
commit c346f40cbf
1 file changed
+4
+4
View File
@@ -1109,6 +1109,10 @@ static void SaveMobjThinker(savebuffer_t *save, const thinker_t *th, const UINT8
if (mobj->type == MT_HOOPCENTER && mobj->threshold == 4242)
return;
// do not send over locally spawned mobjs
if (mobj->islocal)
return;
if (mobj->spawnpoint && mobj->info->doomednum != -1)
{
// spawnpoint is not modified but we must save it since it is an identifier