File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -278,6 +278,13 @@ public override void Load()
278278 {
279279 ObjectModelHeaderViewModel = new ObjectModelHeaderViewModel ( CurrentObject . DatInfo . S5Header . Convert ( ) ) ;
280280
281+ // an object saved as 'Vanilla' but isn't truly Vanilla will have its source auto-set to Custom
282+ // but in this case, we do want to show the user this, so we'll default to Steam
283+ if ( CurrentObject . DatInfo . S5Header . ObjectSource == DatObjectSource . Vanilla && ObjectModelHeaderViewModel . ObjectSource == ObjectSource . Custom )
284+ {
285+ ObjectModelHeaderViewModel . ObjectSource = ObjectSource . LocomotionSteam ;
286+ }
287+
281288 ObjectDatHeaderViewModel = new ObjectDatHeaderViewModel (
282289 CurrentObject . DatInfo . S5Header . Checksum ,
283290 CurrentObject . DatInfo . ObjectHeader . Encoding ,
You can’t perform that action at this time.
0 commit comments