mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
<!-- This is a semi-strict format, you can add/remove sections as needed but the order/format should be kept the same Remove these comments before submitting --> # Description <!-- Explain this PR in as much detail as applicable Some example prompts to consider: How might this affect the game? The codebase? What might be some alternatives to this? How/Who does this benefit/hurt [the game/codebase]? --> Adds an admin command to spawn a passport --- <!-- This is default collapsed, readers click to expand it and see all your media The PR media section can get very large at times, so this is a good way to keep it clean The title is written using HTML tags The title must be within the <summary> tags or you won't see it --> <details><summary><h1>Media</h1></summary> <p>  </p> </details> --- # Changelog <!-- You can add an author after the `🆑` to change the name that appears in the changelog (ex: `🆑 Death`) Leaving it blank will default to your GitHub display name This includes all available types for the changelog --> 🆑 - add: Added admin command to spawn a passport for a player --------- Signed-off-by: Timfa <timfalken@hotmail.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> (cherry picked from commit e7497abdadc017ff2f4494f505c253059d688e83)
12 lines
275 B
C#
12 lines
275 B
C#
using Content.Shared.SpawnPassport;
|
|
|
|
namespace Content.Server.Administration.Systems;
|
|
|
|
public sealed class SpawnPassportSystem : EntitySystem
|
|
{
|
|
public void PerformSpawnPassport(EntityUid target)
|
|
{
|
|
RaiseLocalEvent(target, new SpawnPassportEvent());
|
|
}
|
|
}
|