Add verb to spawn players on the spot (#22000)

* Add verb to spawn players on the spot

Apparently ss13 had it. Respawn for us will most of the time kick them to lobby to setup again but this just puts them in place so an admin can then SetOutfit or whatever.

* Add player cloning
This commit is contained in:
metalgearsloth
2023-12-01 08:40:07 +11:00
committed by GitHub
parent 1aa07dbb56
commit d795729661
4 changed files with 60 additions and 2 deletions

View File

@@ -153,7 +153,7 @@ namespace Content.Server.GameTicking
}
}
private HumanoidCharacterProfile GetPlayerProfile(ICommonSession p)
public HumanoidCharacterProfile GetPlayerProfile(ICommonSession p)
{
return (HumanoidCharacterProfile) _prefsManager.GetPreferences(p.UserId).SelectedCharacter;
}