Removed Old PlayerSession Functions (#5404)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Content.Server.GameTicking;
|
||||
@@ -85,7 +85,7 @@ namespace Content.Server.Voting.Managers
|
||||
vote.CastVote(initiator, 0);
|
||||
}
|
||||
|
||||
foreach (var player in _playerManager.GetAllPlayers())
|
||||
foreach (var player in _playerManager.ServerSessions)
|
||||
{
|
||||
if (player != initiator && !_afkManager.IsAfk(player))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user