mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Make Beehive's ability death reason Stung. It wasn't so before lol
This commit is contained in:
1 parent
f60462f669
commit
6876dd7825
1 file changed
+2
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user