Dumb Attempt to workaround the Dummysession

This commit is contained in:
Coryler 2026-06-09 18:53:34 +02:00
parent 8ad8ba9199
commit cb2c2cd719
1 changed files with 3 additions and 3 deletions

View File

@ -90,10 +90,10 @@ namespace Content.Server.Voting.Managers
private void PlayerManagerOnPlayerStatusChanged(object? sender, SessionStatusEventArgs e)
{
// Delta V - Begin checking and blocking Dummy Sessions or just Empty User Names
if (e.Session.Channel.UserName.Length is 0)
// Delta V - Begin checking and blocking Dummy Sessions (or a certain stupid name)
if (e.Session.Channel.UserName.Contains("integration_dummy_"))
return;
// Delta V - Begin checking and blocking Dummy Sessions
// Delta V - End... Yes it's not good looking, but got no access to DummySession
if (e.NewStatus == SessionStatus.InGame)
{