add forceghost admin command (#35518)
* add forceghost admin command * sweep linq under the rug * braces * ûse LocalizedEntityCommands
This commit is contained in:
@@ -50,7 +50,7 @@ namespace Content.Server.Ghost
|
||||
mind = _entities.GetComponent<MindComponent>(mindId);
|
||||
}
|
||||
|
||||
if (!_entities.System<GhostSystem>().OnGhostAttempt(mindId, true, true, mind))
|
||||
if (!_entities.System<GhostSystem>().OnGhostAttempt(mindId, true, true, mind: mind))
|
||||
{
|
||||
shell.WriteLine(Loc.GetString("ghost-command-denied"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user