Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

Commit

Permalink
Added a much needed check
Browse files Browse the repository at this point in the history
  • Loading branch information
PintTheDragon committed Jun 23, 2020
1 parent 065dcee commit 87c97de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions JoinHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public JoinHandler(Buddy buddyPlugin)

public void OnPlayerJoin(PlayerJoinEvent ev)
{
if (buddyPlugin.Round.Duration != 0) return;
Timing.RunCoroutine(sendJoinMessage(ev.Player));
}
public IEnumerator<float> sendJoinMessage(Player p)
Expand Down

0 comments on commit 87c97de

Please sign in to comment.