Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Warhead.Shake() method #215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix Shake()
XLittleLeft authored Jul 16, 2023
commit c7b21534ff82a60e65a6658723e82e323756aa5a
8 changes: 2 additions & 6 deletions NwPluginAPI/Core/Warhead.cs
Original file line number Diff line number Diff line change
@@ -81,12 +81,8 @@ public static void Start(bool isAutomatic = true, bool suppressSubtitles = false
/// <summary>
/// Show the shake effect to all players.
/// </summary>
public static void Shake()
{
//foreach(var player in Player.List)
// player.Warhead.Shake();
}
public static void Shake() => Server.Instance.GetComponent<AlphaWarheadController>(globalSearch: true).RpcShake(true);

#endregion
}
}
}