* Non-accessed local variable * Merge cast and type checks. * StringComparison.Ordinal added for better culture support * Supposed code improvement in launcher. Remove unused code. * Update ExplosionHelper.cs Unintentional change. * Optimized Import * Add Robust.Shared.Utility import where it was deleted * Other random suggestion * Improve my comment
25 lines
591 B
C#
25 lines
591 B
C#
using Content.Server.Interfaces.Chat;
|
|
using Robust.Shared.IoC;
|
|
|
|
namespace Content.Server.Mobs.Roles
|
|
{
|
|
public sealed class Traitor : Role
|
|
{
|
|
public Traitor(Mind mind) : base(mind)
|
|
{
|
|
}
|
|
|
|
public override string Name => "Traitor";
|
|
|
|
public override void Greet()
|
|
{
|
|
base.Greet();
|
|
|
|
var chat = IoCManager.Resolve<IChatManager>();
|
|
chat.DispatchServerMessage(
|
|
Mind.Session,
|
|
"You're a traitor. Go fuck something up. Or something. I don't care to be honest.");
|
|
}
|
|
}
|
|
}
|