Skip to content

Commit aaf8791

Browse files
committed
segdisp: Set segment type name.
1 parent 090d4dc commit aaf8791

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

VisualPinball.Engine.PinMAME.Unity/Editor/PinMameGamelogicEngineInspector.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ private void CreateDisplays(IEnumerable<DisplayAuthoring> sceneDisplays)
209209
auth.NumChars = layout.Length;
210210
var displayFrameFormat = PinMameGamelogicEngine.GetDisplayType(layout.Type);
211211
auth.SegmentType = auth.ConvertSegmentType(displayFrameFormat);
212+
auth.SegmentTypeName = layout.Type.ToString();
212213

213214
go.name = $"Segment Display [{index}]";
214215
go.transform.localScale = new Vector3(DisplayInspector.GameObjectScale, DisplayInspector.GameObjectScale, DisplayInspector.GameObjectScale);

0 commit comments

Comments
 (0)