Skip to content

Commit

Permalink
fixed TranquilizerConfig.Reloadable
Browse files Browse the repository at this point in the history
  • Loading branch information
GrafDimenzio committed Dec 21, 2020
1 parent de463e8 commit 20554a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MoreWeapons/Handlers/TranquilizerHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private void OnReload(Synapse.Api.Events.SynapseEventArguments.PlayerReloadEvent
{
ev.Allow = false;

if (ev.Item.Durabillity >= PluginClass.TzConfig.MagazineSize || PluginClass.TzConfig.Reloadable) return;
if (ev.Item.Durabillity >= PluginClass.TzConfig.MagazineSize || !PluginClass.TzConfig.Reloadable) return;

var reloadAmount = PluginClass.TzConfig.MagazineSize - ev.Item.Durabillity;

Expand Down

0 comments on commit 20554a2

Please sign in to comment.