5 Years Ago
Assign entity netid from managed instead of native Remove all replicated properties from managed component Move NextEntityId to GameServer so it can reset on server shutdown (only server should be using this anyway) Return 0 for next entity netid when server isn't initialized (server isn't running in main menu) Attempt a world cleanup at the start of Manager.StartGame Only remove entities from main entity list if they have a valid netid. Remove manual cleanup of current gamemode and menu system, assert instead to check world cleanup is doing its job.