changed actor to player
This commit is contained in:
parent
559210d147
commit
4697d30502
1 changed files with 1 additions and 1 deletions
|
@ -420,7 +420,7 @@ bool weaponUseForbidden(entity player)
|
|||
{
|
||||
if (round_handler_IsActive() && !round_handler_IsRoundStarted()) return true;
|
||||
if (MUTATOR_CALLHOOK(ForbidWeaponUse, player)) return true;
|
||||
if (autocvar_g_weapons_spawnshield_forbid_firing && StatusEffects_active(STATUSEFFECT_SpawnShield, actor)) return true;
|
||||
if (autocvar_g_weapons_spawnshield_forbid_firing && StatusEffects_active(STATUSEFFECT_SpawnShield, player)) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue