Bots cannot spawn on maps with new spawn system
Issue #256
invalid
No description provided.
Comments (3)
-
-
reporter I could do that, but I'd like for the bots to spawn more or less as players do (ie. on valid team spawn points). A bit of logic will need to be added to get that working, shouldn't be a big deal.
-
- changed status to invalid
This is not needed or even desired.
- Log in to comment
I believe the problem is in state RoundInPlay.Timer(), line 1794: RestartPlayer(P);
RestartPlayer(P) just calls DeployRestartPlayer(C, true, false). And I think the problem is the "false", which is an optional flag to bUseOldRestart. If bUseOldRestart is made true, it calls the super for RestartPlayer(C) and bots spawn.
Locally, I have changed line 1794 to DeployRestartPlayer(P, true, true);
Seems to work.