v1.0.3
This commit is contained in:
parent
262f618b31
commit
fc0d2a3265
18 changed files with 515 additions and 143 deletions
|
|
@ -67,6 +67,9 @@ namespace jRandomSkills
|
|||
if (attackerPawn == null || attackerPawn.Controller?.Value == null || victimPawn == null || victimPawn.Controller?.Value == null)
|
||||
return HookResult.Continue;
|
||||
|
||||
if (attackerPawn.DesignerName != "player" || victimPawn.DesignerName != "player")
|
||||
return HookResult.Continue;
|
||||
|
||||
CCSPlayerController attacker = attackerPawn.Controller.Value.As<CCSPlayerController>();
|
||||
CCSPlayerController victim = victimPawn.Controller.Value.As<CCSPlayerController>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue