Remove ForceFullUpdate, rework entity lifecycle, move skill selection to round end

This commit is contained in:
ByDexter 2026-07-12 16:52:57 +03:00
parent a5c0e3ca4b
commit 4b42670804
8 changed files with 251 additions and 216 deletions

View file

@ -172,6 +172,14 @@ namespace src.utils
return key;
}
// Resolves and caches the player's language at connect time, so the GeoLite
// database lookup never runs on the tick path.
public static void PreResolveLanguage(CCSPlayerController? player)
{
if (player == null || !player.IsValid || player.IsBot) return;
GetLangCode(player);
}
private static bool _geoLiteBroken = false;
private static string GetLangCode(CCSPlayerController? player)