Default warp point names (#21017)

This commit is contained in:
Leon Friedrich
2023-10-16 16:39:39 +11:00
committed by GitHub
parent 422544035d
commit 1f0c9314fd
6 changed files with 53 additions and 21 deletions

View File

@@ -297,8 +297,7 @@ namespace Content.Server.Ghost
while (allQuery.MoveNext(out var uid, out var warp))
{
if (warp.Location != null)
yield return new GhostWarp(GetNetEntity(uid), warp.Location, true);
yield return new GhostWarp(GetNetEntity(uid), warp.Location ?? Name(uid), true);
}
}