This commit is contained in:
Gurge44 committed 2025-11-11 10:45:17 +01:00
1 parent d7530e1414
commit 02137dee3b
2 files changed
+4 -3

No files matched your search

+1
View File
@@ -15,6 +15,7 @@
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
<Configurations>Debug;Release;Android</Configurations>
<Platforms>AnyCPU</Platforms>
<RepositoryUrl>https://github.com/Gurge44/EndlessHostRoles</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
+3 -3
View File
@@ -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)