Readding the no send condition

This commit is contained in:
Coryler 2026-06-24 16:27:36 +02:00
parent 7a9f718c92
commit 79711bc285
1 changed files with 5 additions and 0 deletions

View File

@ -90,6 +90,11 @@ namespace Content.Server.Voting.Managers
private void PlayerManagerOnPlayerStatusChanged(object? sender, SessionStatusEventArgs e)
{
// Delta V - Begin checking and blocking Dummy Sessions (or a certain stupid name)
if (e.Session.Channel.UserName.Contains("integration_dummy_"))
return;
// Delta V - End... Yes it's not good looking, but got no access to DummySession
if (e.NewStatus == SessionStatus.InGame)
{
// Send current votes to newly connected players.