Skip to content

Commit c3ade8f

Browse files
Update FunDropWeaponOnShoot.cs
1 parent a3c001e commit c3ade8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FunDropWeaponOnShoot.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public override void Fun(FunMatchPlugin plugin)
2424
if (cur_weapon.DesignerName == "weapon_c4" || cur_weapon.DesignerName == "weapon_knife" || cur_weapon.DesignerName == "weapon_knife_t")
2525
return HookResult.Continue;
2626

27-
@event.Userid!.DropActiveWeapon();
27+
player!.DropActiveWeapon();
2828
Server.NextFrame(()=>{
2929
if (pawn!.WeaponServices!.ActiveWeapon.Get() is null)
3030
{

0 commit comments

Comments
 (0)