replicate only for players
This commit is contained in:
parent
476859dddf
commit
29abb98b4a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user