lava76
lava76
CF_OnUpdate loop is fairly expensive especially on server. Limit update rate to 25 ms on server. Significant performance boost was observed when many modules are using update loops (e.g. COT...
Only needs to keep track of players. See comments in CF_ModStorageModule.c near the top.
Side note: After this change, `_cf_characters` in 3_Game/CommunityFramework/CommunityFramework.c is no longer used and can probably be removed
There should be **one** module having all the entity spawn/setup functionality instead of having it duplicated all over the place.