Closed EntranceJew closed 6 months ago
That is really odd. It seems that Gmod does not have any error handling for the CreatePlayerBot function when the map/scripts are loaded but no players are connected. I noticed that the function to create a bot isn't actually visible in FP's GitHub repository. I will test this out when I get a minute.
there's a chance that pcall / xpcall / ProtectedCall can still capture it, but i know some things don't
Made a commit to dev branch that should fix this. Pending further testing
Confirmed fixed in dev branch, pending merge to master with v1.2 milestone
Game version/server type
Describe the bug
Creating bots broken after forced retry.
Stack trace/error
The error, if any. Example:
Reproducing the bug
Steps to reproduce the behavior:
retry
in console.Expected behavior
No errors