Merge pull request #11 from Ssinssrigg/patch-2
Update Ext_T_AutoFireHelper.uc Attempt 3
This commit is contained in:
commit
88a4234034
@ -26,7 +26,7 @@ function Timer()
|
||||
}
|
||||
simulated function Tick( float Delta )
|
||||
{
|
||||
if( WorldInfo.NetMode==NM_DedicatedServer || PawnOwner==None || PawnOwner.InvManager==None || KFWeapon(PawnOwner.Weapon)==None || KFWeapon(PawnOwner.Weapon).GetWeaponPerkClass(AssociatedPerkClass)!=AssociatedPerkClass )
|
||||
if( WorldInfo.NetMode==NM_DedicatedServer || PawnOwner==None || PawnOwner.InvManager==None || KFWeapon(PawnOwner.Weapon)==None || KFWeapon(PawnOwner.Weapon).GetWeaponPerkClass(AssociatedPerkClass)!=AssociatedPerkClass && AssociatedPerkClass != class'KFPerk_Survivalist' )
|
||||
return;
|
||||
|
||||
// Find local playercontroller.
|
||||
@ -52,4 +52,4 @@ defaultproperties
|
||||
Components.Empty()
|
||||
RemoteRole=ROLE_SimulatedProxy
|
||||
bOnlyRelevantToOwner=true
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user