Make Beehive's ability death reason Stung. It wasn't so before lol

This commit is contained in:
HyperAtill committed 2025-07-19 00:44:19 +03:00
1 parent f60462f669
commit 6876dd7825
1 file changed
+2 -2
+2 -2
View File
@@ -109,7 +109,7 @@ public class Beehive : RoleBase
if (Vector2.Distance(pc.Pos(), sp.InitialPosition) < Distance.GetFloat())
{
pc.Suicide(realKiller: Utils.GetPlayerById(BeehiveId));
pc.Suicide(deathReason: PlayerState.DeathReason.Stung, realKiller: Utils.GetPlayerById(BeehiveId));
if (pc.IsLocalPlayer())
Achievements.Type.OutOfTime.Complete();
@@ -126,7 +126,7 @@ public class Beehive : RoleBase
{
StungPlayers.Keys.Select(x => Utils.GetPlayerById(x)).DoIf(
x => x != null && x.IsAlive(),
x => x.Suicide(realKiller: Utils.GetPlayerById(BeehiveId)));
x => x.Suicide(deathReason: PlayerState.DeathReason.Stung, realKiller: Utils.GetPlayerById(BeehiveId)));
}
StungPlayers.Clear();