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;
KFPC = KFPlayerController(C);
if (KFPC == None)
if (KFPC == None || !KFPC.bIsPlayer)
return;
RepClient.RepInfo = Spawn(class'ScoreboardExtRepInfo', KFPC);