Bugfix station beacons not showing up on map (#4211)

* * fix station beacons not showing up sometimes (typically the custom named ones)

upstream issue: https://github.com/space-wizards/space-station-14/issues/3769

* Lady Elegance: remove duplicate station beacons

* Review requests: simplify beacon bugfix, remove map changes

* comments
This commit is contained in:
Charlie Morley 2025-08-23 19:15:10 -06:00 committed by GitHub
parent 9eaf91d165
commit b2dd909ceb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -170,8 +170,15 @@ public sealed partial class NavMapSystem : SharedNavMapSystem
private void OnNavMapBeaconMapInit(EntityUid uid, NavMapBeaconComponent component, MapInitEvent args)
{
// DeltaV - start of beacon map bugfix
if (component.DefaultText == null || component.Text != null)
{
// temporary fix until issue is resolved upstream:
// https://github.com/space-wizards/space-station-14/issues/37691
UpdateNavMapBeaconData(uid, component);
return;
}
// DeltaV - end of beacon map bugfix
component.Text = Loc.GetString(component.DefaultText);
Dirty(uid, component);