replicate only for players

This commit is contained in:
GenZmeY 2021-05-31 04:49:18 +03:00
parent 476859dddf
commit 29abb98b4a

View File

@ -126,7 +126,7 @@ function AddPlayerInfo(Controller C)
local SClient RepClient; local SClient RepClient;
KFPC = KFPlayerController(C); KFPC = KFPlayerController(C);
if (KFPC == None) if (KFPC == None || !KFPC.bIsPlayer)
return; return;
RepClient.RepInfo = Spawn(class'ScoreboardExtRepInfo', KFPC); RepClient.RepInfo = Spawn(class'ScoreboardExtRepInfo', KFPC);