Make ghost warp use AttachToGridOrMap() (#11069)

This commit is contained in:
Leon Friedrich
2022-09-06 17:36:52 +12:00
committed by GitHub
parent 75378b16aa
commit 414f32a4ee
4 changed files with 44 additions and 14 deletions

View File

@@ -7,5 +7,11 @@ namespace Content.Server.Warps
public sealed class WarpPointComponent : Component
{
[ViewVariables(VVAccess.ReadWrite)] [DataField("location")] public string? Location { get; set; }
/// <summary>
/// If true, ghosts warping to this entity will begin following it.
/// </summary>
[DataField("follow")]
public readonly bool Follow = false;
}
}