Changed the way OnPlayerConnected is invoked for the host player. Now it's invoked after NetworkStart has been invoked for all scene objects and the sandbox object. This is safer than before to avoid the problem of subscribing to Sandbox.Events.OnPlayerConnected in a scene object after it was already invoked for the host player, thus missing the call for the host player on that scene object.

This commit is contained in:
Karrar
2024-05-26 02:35:06 +03:00
parent 5b34dc69a5
commit f7ac776294
9 changed files with 1 additions and 1 deletions