From 02137dee3b50b39980fda1b8774af3a04e5ee16e Mon Sep 17 00:00:00 2001 From: Gurge44 Date: Tue, 11 Nov 2025 10:45:17 +0100 Subject: [PATCH] a --- EHR.csproj | 1 + Modules/GuessManager.cs | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/EHR.csproj b/EHR.csproj index 4a41a2b6c..4780f8022 100644 --- a/EHR.csproj +++ b/EHR.csproj @@ -15,6 +15,7 @@ $(MSBuildProjectName) Debug;Release;Android AnyCPU + https://github.com/Gurge44/EndlessHostRoles diff --git a/Modules/GuessManager.cs b/Modules/GuessManager.cs index 5e39f2ba0..ccd863acc 100644 --- a/Modules/GuessManager.cs +++ b/Modules/GuessManager.cs @@ -443,6 +443,9 @@ public static class GuessManager Logger.Msg($"{guesserSuicide}", "guesserSuicide3"); } + Main.GuesserGuessed[pc.PlayerId]++; + Main.GuesserGuessedMeeting[pc.PlayerId]++; + if (guesserSuicide && Options.GuesserDoesntDieOnMisguess.GetBool()) { if (!isUI) Utils.SendMessage(GetString("MisguessButNoSuicide"), pc.PlayerId, Utils.ColorString(Color.yellow, GetString("MessageFromGurge44"))); @@ -461,9 +464,6 @@ public static class GuessManager Logger.Info($"Player: {target.GetRealName().RemoveHtmlTags()} was guessed by {pc.GetRealName().RemoveHtmlTags()}", "Guesser"); - Main.GuesserGuessed[pc.PlayerId]++; - Main.GuesserGuessedMeeting[pc.PlayerId]++; - if (pc.IsHost()) Utils.FlashColor(guesserSuicide ? new(1f, 0f, 0f, 0.3f) : new(0f, 1f, 0f, 0.3f)); if (Main.PlayerStates[pc.PlayerId].Role is NecroGuesser ng)