Skip to content

Commit 4701fe4

Browse files
Shitcode fix p5
1 parent 543df7f commit 4701fe4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Content.Server/Chat/Managers/ChatManager.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,10 @@ private void SendOOC(ICommonSession player, string message)
240240
wrappedMessage = Loc.GetString("chat-manager-send-ooc-patron-wrap-message", ("patronColor", patronColor),("playerName", player.Name), ("message", FormattedMessage.EscapeText(message)));
241241
}
242242

243-
var _shlepovendSystem = _entityManager.System<SharedShlepovendSystem>();
244243
var SponsorInfo = player.ContentData()?.SponsorInfo;
245244
if (SponsorInfo is not null)
246245
{
247-
if (_shlepovendSystem.GetHighestTier(SponsorInfo.Tiers) is not null && SponsorInfo.Tiers.Length > 1 || true)
246+
if (SponsorInfo.Tiers.Length > 1)
248247
{
249248
wrappedMessage = Loc.GetString("chat-manager-send-ooc-patron-wrap-message", ("patronColor", "#ffe77a"), ("playerName", player.Name), ("message", FormattedMessage.EscapeText(message)));
250249
}

0 commit comments

Comments
 (0)