Skip to content

Commit 38b2e0f

Browse files
committed
Remove Obsolete attribute causing compile errors in scripts
1 parent 5f67e79 commit 38b2e0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Source/Orts.Simulation/Common/Scripting/EuropeanTrainControlSystem.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ public class ETCSStatus
122122
/// True if the text message area shall be displayed
123123
/// </summary>
124124
public bool TextMessageAreaShown;
125-
[Obsolete("ShowTextMessageArea is deprecated. Use TextMessageAreaShown instead.")]
125+
/// <summary>
126+
/// Legacy variable. Please use TextMessageAreaShown instead
127+
/// </summary>
126128
public bool ShowTextMessageArea => TextMessageAreaShown;
127129
/// <summary>
128130
/// List of text messages to be displayed in text area. Do not rely on the order, as the DMI will reorder the list.

0 commit comments

Comments
 (0)