Bots cannot spawn on maps with new spawn system

Issue #256 invalid
Colin Basnett created an issue

No description provided.

Comments (3)

  1. Matt Hands

    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.

  2. Colin Basnett 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.

  3. Log in to comment