fix holo spam when in phase
This commit is contained in:
@@ -382,7 +382,8 @@ bool function PlayerCanUseDecoy( entity ownerPlayer ) //For holopilot and HoloPi
|
||||
if(ownerPlayer.GetOffhandWeapon(1).GetWeaponClassName() == "mp_ability_holopilot" && ownerPlayer.GetOffhandWeapon(1).GetWeaponPrimaryClipCount()<200 && !(ownerPlayer in playerDecoyList))
|
||||
return false
|
||||
//Do we need to check isPhaseShifted here? Re-examine when it's possible to get both Phase and Decoy (maybe through burn cards?)
|
||||
|
||||
if(player.IsPhaseShifted())
|
||||
return false
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user