We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2baed0d commit 2f952deCopy full SHA for 2f952de
Scp056/EventHandlers.cs
@@ -25,7 +25,7 @@ private void ReloadWeapon(Synapse.Api.Events.SynapseEventArguments.PlayerReloadE
25
if (ev.Player.RoleID == 56)
26
foreach (var ammo in (AmmoType[])Enum.GetValues(typeof(AmmoType)))
27
{
28
- ev.Player.AmmoBox[ammo] = 100;
+ ev.Player.AmmoBox[ammo] = InventorySystem.Configs.InventoryLimits.GetAmmoLimit(null, (ItemType)ammo);
29
MEC.Timing.CallDelayed(5f, () => ev.Player.AmmoBox[ammo] = 0);
30
}
31
0 commit comments