]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Temporarily disable round-end PVS overrides (#22365)
authorLeon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Tue, 12 Dec 2023 00:43:37 +0000 (19:43 -0500)
committerGitHub <noreply@github.com>
Tue, 12 Dec 2023 00:43:37 +0000 (11:43 +1100)
Content.Server/GameTicking/GameTicker.RoundFlow.cs

index 7efcf796adc0b664e107c93c53861135cfd7e651..34722e1f82208776fb710ffb9ad438d9c1dbde3c 100644 (file)
@@ -361,8 +361,9 @@ namespace Content.Server.GameTicking
                 else if (mind.CurrentEntity != null && TryName(mind.CurrentEntity.Value, out var icName))
                     playerIcName = icName;
 
-                if (TryGetEntity(mind.OriginalOwnedEntity, out var entity))
-                    _pvsOverride.AddGlobalOverride(GetNetEntity(entity.Value), recursive: true);
+                // 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);
 
                 var roles = _roles.MindGetAllRoles(mindId);