Skip to content

Commit

Permalink
hehexd
Browse files Browse the repository at this point in the history
  • Loading branch information
joker-119 committed Jan 20, 2020
1 parent 506e687 commit bf81b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EXILED_Events/Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static void InvokeGrenadeThrown(ref GrenadeManager gm, ref int id, ref bo
}

public static event SCP914Upgrade SCP914UpgradeEvent;
public delegate void SCP914Upgrade(SCP914UpgradeEvent ev);
public delegate void SCP914Upgrade(ref SCP914UpgradeEvent ev);
public static void InvokeSCP914Upgrade(Scp914.Scp914Machine machine, List<CharacterClassManager> ccms, ref List<Pickup> pickups, Scp914.Scp914Knob knobSetting, ref bool allow)
{
SCP914Upgrade activated = SCP914UpgradeEvent;
Expand All @@ -52,7 +52,7 @@ public static void InvokeSCP914Upgrade(Scp914.Scp914Machine machine, List<Charac
Items = pickups,
KnobSetting = knobSetting
};
activated?.Invoke(ev);
activated?.Invoke(ref ev);
pickups = ev.Items;
allow = ev.Allow;
}
Expand Down
Binary file not shown.

0 comments on commit bf81b7a

Please sign in to comment.