diff --git a/Source/MASFlightComputerProxy2.cs b/Source/MASFlightComputerProxy2.cs index c110f402..aaecd03e 100644 --- a/Source/MASFlightComputerProxy2.cs +++ b/Source/MASFlightComputerProxy2.cs @@ -1210,7 +1210,7 @@ public string FormatString(string format, object arg0) string result = string.Empty; try { - result = string.Format(format, arg0); + result = string.Format(MdVTextMesh.formatter, format, arg0); } catch { diff --git a/Source/MdVTextMesh.cs b/Source/MdVTextMesh.cs index 497206fc..ddd0e8d9 100644 --- a/Source/MdVTextMesh.cs +++ b/Source/MdVTextMesh.cs @@ -41,7 +41,7 @@ namespace AvionicsSystems /// public class MdVTextMesh : MonoBehaviour { - static private MASStringFormatter formatter = new MASStringFormatter(); + static internal MASStringFormatter formatter = new MASStringFormatter(); private TextAlignment alignment_ = TextAlignment.Left; public TextAlignment alignment