mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Beacon localization (#24138)
* localize beacons
* No not like that
* Tesla beacons were already depreciated, time to give the reaper their due
* Entity name fallback
* The real treasure was the far easier solution we missed along the way
* weh
* Shared mapinit
* fix RT version
* a single line break
(cherry picked from commit efdc6f8d4c)
This commit is contained in:
@@ -225,7 +225,7 @@ public sealed class NavMapSystem : SharedNavMapSystem
|
||||
// TODO: Make warp points use metadata name instead.
|
||||
string? name = beacon.Text;
|
||||
|
||||
if (name == null)
|
||||
if (string.IsNullOrEmpty(name))
|
||||
{
|
||||
if (TryComp<WarpPointComponent>(beaconUid, out var warpPoint) && warpPoint.Location != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user