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:
parent
9eaf91d165
commit
b2dd909ceb
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue