Skip to content

Commit 7307836

Browse files
authored
fix: Firearm pickups spawning without ammo (#600)
Fix firearm pickups spawning without ammo
1 parent 6fedfa8 commit 7307836

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

EXILED/Exiled.API/Features/Pickups/FirearmPickup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ protected override void InitializeProperties(ItemBase itemBase)
157157
return;
158158
}
159159

160+
Ammo = magazine.AmmoMax;
160161
MaxAmmo = magazine.AmmoMax;
161162
}
162163
}

0 commit comments

Comments
 (0)