mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
a
This commit is contained in:
1 parent
d7530e1414
commit
02137dee3b
2 files changed
+4
-3
No files matched your search
@@ -15,6 +15,7 @@
|
||||
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
|
||||
<Configurations>Debug;Release;Android</Configurations>
|
||||
<Platforms>AnyCPU</Platforms>
|
||||
<RepositoryUrl>https://github.com/Gurge44/EndlessHostRoles</RepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user