Потеря мозговых клеток - гарантированна

This commit is contained in:
BIGZi0348
2024-12-23 23:42:53 +03:00
parent e2d91fc947
commit 57a7d97688
4 changed files with 37 additions and 22 deletions

View File

@@ -63,8 +63,7 @@ public sealed class GhostRecruitmentSystem : EntitySystem
var count = 0;
//var maxCount = Math.Max(3, _playerManager.PlayerCount / 8);
var maxCount = 1;
var maxCount = Math.Max(3, _playerManager.PlayerCount / 8);
var query = EntityQueryEnumerator<GhostRecruitedComponent>();
while (query.MoveNext(out var uid, out var ghostRecruitedComponent))