mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
Fix MapInit NavMapBeacon Custom Text (#43898)
Fix missing path to UpdateNavMapBeaconData
This commit is contained in:
parent
ac547301bd
commit
f20935b2a4
1 changed files with 5 additions and 5 deletions
|
|
@ -163,11 +163,11 @@ public sealed partial class NavMapSystem : SharedNavMapSystem
|
|||
|
||||
private void OnNavMapBeaconMapInit(EntityUid uid, NavMapBeaconComponent component, MapInitEvent args)
|
||||
{
|
||||
if (component.DefaultText == null || component.Text != null)
|
||||
return;
|
||||
|
||||
component.Text = Loc.GetString(component.DefaultText);
|
||||
Dirty(uid, component);
|
||||
if (component.DefaultText != null && component.Text == null)
|
||||
{
|
||||
component.Text = Loc.GetString(component.DefaultText);
|
||||
Dirty(uid, component);
|
||||
}
|
||||
|
||||
UpdateNavMapBeaconData(uid, component);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue