Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Commit

Permalink
Remove player suicide on player edeath
Browse files Browse the repository at this point in the history
  • Loading branch information
ntm5 authored Jul 11, 2024
1 parent a6bdcb5 commit 0d13e7d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mod/TTT.Roles/RoleBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ public HookResult OnPlayerDeath(EventPlayerDeath @event, GameEventInfo info)

if (_traitorsLeft == 0 || _innocentsLeft == 0) Server.NextFrame(() => _roundService.ForceEnd());

Server.NextFrame(() => playerWhoWasDamaged.CommitSuicide(false, true));

Server.NextFrame(() =>
{
Server.PrintToChatAll(
Expand Down

0 comments on commit 0d13e7d

Please sign in to comment.