Skip to content

Commit

Permalink
Fix pvs override error (space-wizards#22366)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectroJr authored Dec 12, 2023
1 parent 53bd668 commit 70d663c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Content.Server/GameTicking/GameTicker.RoundFlow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,11 @@ public void ShowRoundEndScoreboard(string text = "")
else if (mind.CurrentEntity != null && TryName(mind.CurrentEntity.Value, out var icName))
playerIcName = icName;

// Temporarily disabled to test if this causes issues on live servers
//if (TryGetEntity(mind.OriginalOwnedEntity, out var entity))
// _pvsOverride.AddGlobalOverride(GetNetEntity(entity.Value), recursive: true);
if (TryGetEntity(mind.OriginalOwnedEntity, out var entity))
{
// Temporarily disabled to test if this causes issues on live servers
// _pvsOverride.AddGlobalOverride(GetNetEntity(entity.Value), recursive: true);
}

var roles = _roles.MindGetAllRoles(mindId);

Expand Down

0 comments on commit 70d663c

Please sign in to comment.