File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ public Texture2D locomotiveStatusBattery(int CarPosition)
12601260 string [ ] parts = data . Split ( new string [ ] { " = " } , 2 , StringSplitOptions . None ) ;
12611261 string keyPart = parts [ 0 ] ;
12621262 string valuePart = parts ? [ 1 ] ;
1263- if ( keyPart . Contains ( Viewer . Catalog . GetString ( "Battery" ) ) )
1263+ if ( keyPart . Contains ( Viewer . Catalog . GetString ( "Battery switch " ) ) )
12641264 {
12651265 TrainCarViewer . BatteryStatus = locomotiveStatus ;
12661266 Texture = valuePart . Contains ( Viewer . Catalog . GetString ( "On" ) ) ? BattOn32 : BattOff32 ;
Original file line number Diff line number Diff line change @@ -1331,7 +1331,7 @@ public Texture2D locomotiveStatus(int CarPosition)
13311331 string [ ] parts = data . Split ( new string [ ] { " = " } , 2 , StringSplitOptions . None ) ;
13321332 string keyPart = parts [ 0 ] ;
13331333 string valuePart = parts ? [ 1 ] ;
1334- if ( keyPart . Contains ( Viewer . Catalog . GetString ( "Battery" ) ) )
1334+ if ( keyPart . Contains ( Viewer . Catalog . GetString ( "Battery switch " ) ) )
13351335 {
13361336 Viewer . TrainCarOperationsWindow . BatteryStatus = locomotiveStatus ;
13371337 Texture = valuePart . Contains ( Viewer . Catalog . GetString ( "On" ) ) ? BattOn : BattOff ;
You can’t perform that action at this time.
0 commit comments