Skip to content

Commit

Permalink
Use Hazard Wrapper
Browse files Browse the repository at this point in the history
Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>
  • Loading branch information
x3rt and louis1706 authored Aug 6, 2024
1 parent 443ae27 commit 32c49fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class PlacedAmnesticCloudEventArgs : IScp939Event
public PlacedAmnesticCloudEventArgs(ReferenceHub hub, Scp939AmnesticCloudInstance cloud)
{
Player = Player.Get(hub);
AmnesticCloud = new AmnesticCloudHazard(cloud);
AmnesticCloud = Hazard.Get<AmnesticCloudHazard>(cloud)
Scp939 = Player.Role.As<Scp939Role>();
}

Expand Down

0 comments on commit 32c49fe

Please sign in to comment.