Remove ForceFullUpdate, rework entity lifecycle, move skill selection to round end
This commit is contained in:
parent
a5c0e3ca4b
commit
4b42670804
8 changed files with 251 additions and 216 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue