Merge pull request #11 from Ssinssrigg/patch-2

Update Ext_T_AutoFireHelper.uc Attempt 3
This commit is contained in:
GenZmeY 2020-10-05 21:33:19 +03:00 committed by GitHub
commit 88a4234034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.