- Minor changes
- Updated translations
- Updated css
This commit is contained in:
Dawid Bepierszcz
2024-03-09 12:01:25 +01:00
parent 692c22f7d1
commit 77def8a305
16 changed files with 28 additions and 13 deletions

View File

@@ -305,7 +305,7 @@ namespace WeaponPaints
Server.NextFrame(() =>
{
string? model = player.TeamNum == 3 ? g_playersAgent[player.Slot].CT : g_playersAgent[player.Slot].T;
if (model == null) return;
if (string.IsNullOrEmpty(model)) return;
player.PlayerPawn.Value!.SetModel(
$"characters/models/{model}.vmdl"