Skip to content

Commit 4cd961b

Browse files
committed
Remove unneded string read in Engine( section
1 parent df7bf1a commit 4cd961b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/RollingStock.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ public class EngineClass
152152
public EngineClass(STFReader stf)
153153
{
154154
stf.MustMatch("(");
155-
stf.ReadString();
156155
stf.ParseBlock(new STFReader.TokenProcessor[] {
157156
new STFReader.TokenProcessor("type", ()=>{ Type = stf.ReadStringBlock(null); }),
158157
});

0 commit comments

Comments
 (0)