Revert "Update submodule to 172.0.0 (#21222)" (#21225)

This commit is contained in:
metalgearsloth
2023-10-24 21:55:20 +11:00
committed by GitHub
parent 517aea8bc3
commit a2bbda43cc
249 changed files with 1049 additions and 967 deletions

View File

@@ -1,4 +1,4 @@
using Robust.Shared.Player;
using Robust.Server.Player;
namespace Content.Server.Voting
@@ -16,7 +16,7 @@ namespace Content.Server.Voting
/// <summary>
/// The player that started the vote. Used to keep track of player cooldowns to avoid vote spam.
/// </summary>
public ICommonSession? InitiatorPlayer { get; set; }
public IPlayerSession? InitiatorPlayer { get; set; }
/// <summary>
/// The shown title of the vote.
@@ -43,13 +43,13 @@ namespace Content.Server.Voting
/// Sets <see cref="InitiatorPlayer"/> and <see cref="InitiatorText"/>
/// by setting the latter to the player's name.
/// </summary>
public void SetInitiator(ICommonSession player)
public void SetInitiator(IPlayerSession player)
{
InitiatorPlayer = player;
InitiatorText = player.Name;
}
public void SetInitiatorOrServer(ICommonSession? player)
public void SetInitiatorOrServer(IPlayerSession? player)
{
if (player != null)
{