Skip to content

Commit

Permalink
fixed Message
Browse files Browse the repository at this point in the history
  • Loading branch information
GrafDimenzio committed Nov 12, 2020
1 parent 0dc5507 commit bd4f3dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions WaitAndChill/EventHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private IEnumerator<float> WaitingForPlayers()

while (!Map.Get.Round.RoundIsActive)
{
Map.Get.RespawnPoint = PluginClass.Config.LobbySpawn.Parse().Position;
Map.Get.RespawnPoint = PluginClass.Config.LobbySpawn.Parse().Position;

var newmsg = msg.Replace("%players%", Server.Get.Players.Count.ToString());
switch (GameCore.RoundStart.singleton.NetworkTimer)
Expand All @@ -48,11 +48,11 @@ private IEnumerator<float> WaitingForPlayers()
if (player.RoleType == RoleType.None && player.Hub.Ready)
player.RoleID = (int)RoleType.Tutorial;

player.GiveTextHint(newmsg);
player.GiveTextHint(newmsg,1f);
}

Map.Get.RespawnPoint = Vector3.zero;
yield return Timing.WaitForOneFrame;
yield return Timing.WaitForSeconds(1f);
}

foreach (var door in Map.Get.Doors)
Expand Down
2 changes: 1 addition & 1 deletion WaitAndChill/PluginClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace WaitAndChill
SynapseMajor = SynapseController.SynapseMajor,
SynapseMinor = SynapseController.SynapseMinor,
SynapsePatch = SynapseController.SynapsePatch,
Version = "v.1.0.0"
Version = "v.1.0.1"
)]
public class PluginClass : AbstractPlugin
{
Expand Down

0 comments on commit bd4f3dc

Please sign in to comment.