Server: Prevent the engine from handling spawnflags or else it'll remove
entities depending on mode/difficulty
This commit is contained in:
parent
ff39eda49d
commit
ef66642c7f
1 changed files with 10 additions and 1 deletions
|
@ -744,4 +744,13 @@ SV_PerformSave(float fh, float numents)
|
|||
}
|
||||
}
|
||||
fclose(fh);
|
||||
};
|
||||
}
|
||||
|
||||
void
|
||||
CheckSpawn(void() spawnfunc)
|
||||
{
|
||||
if (spawnfunc)
|
||||
spawnfunc();
|
||||
else
|
||||
remove();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue