From bd4f3dc4892d69ae71546325ec9a3ee0d70ab84a Mon Sep 17 00:00:00 2001 From: GrafDimenzio Date: Thu, 12 Nov 2020 20:53:53 +0100 Subject: [PATCH] fixed Message --- WaitAndChill/EventHandlers.cs | 6 +++--- WaitAndChill/PluginClass.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WaitAndChill/EventHandlers.cs b/WaitAndChill/EventHandlers.cs index 888647b..d79335f 100644 --- a/WaitAndChill/EventHandlers.cs +++ b/WaitAndChill/EventHandlers.cs @@ -25,7 +25,7 @@ private IEnumerator 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) @@ -48,11 +48,11 @@ private IEnumerator 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) diff --git a/WaitAndChill/PluginClass.cs b/WaitAndChill/PluginClass.cs index 90dcdc2..2158a92 100644 --- a/WaitAndChill/PluginClass.cs +++ b/WaitAndChill/PluginClass.cs @@ -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 {