]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix coords monitor in replays (#29512)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Thu, 27 Jun 2024 14:58:51 +0000 (16:58 +0200)
committerGitHub <noreply@github.com>
Thu, 27 Jun 2024 14:58:51 +0000 (16:58 +0200)
commitced15b793424027e61c6976a62d7e1466388e3c2
tree8c3e6a5002e838b8340f607eca6258785642e559
parent45cc19f3152f1f340d56af3edeba1fb4724fc0fa
Fix coords monitor in replays (#29512)

The F3 coords manager is blocked if you're not an admin. This check happened even when playing a replay, where you actually aren't. There's now a check to make sure you are actually server-connected-to-game before running the logic.

Also moved it to a manager because this *shouldn't be a bloody entity system in the first place*.
Content.Client/DebugMon/DebugMonitorManager.cs [moved from Content.Client/DebugMon/DebugMonitorSystem.cs with 51% similarity]
Content.Client/Entry/EntryPoint.cs
Content.Client/IoC/ClientContentIoC.cs