File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 1- using System ;
2- using System . Collections . Generic ;
3- using System . Linq ;
4- using System . Text ;
5- using System . Threading . Tasks ;
6- using Torch ;
1+ using Torch ;
72
83namespace StaticMarker
94{
Original file line number Diff line number Diff line change 1- using System ;
2- using System . Collections . Generic ;
3- using System . Linq ;
4- using System . Text ;
5- using System . Threading . Tasks ;
1+ using System . Collections . Generic ;
62using VRage . Game ;
73
84namespace StaticMarker
95{
106 public class MarkerEntriesConfig
117 {
12- public List < MyObjectBuilder_Gps . Entry > Entries = new List < MyObjectBuilder_Gps . Entry > ( ) ;
8+ private List < MyObjectBuilder_Gps . Entry > _entries = new List < MyObjectBuilder_Gps . Entry > ( ) ;
9+ public List < MyObjectBuilder_Gps . Entry > Entries {
10+ get => _entries ;
11+ set {
12+ _entries . Clear ( ) ;
13+ _entries . AddRange ( value ) ;
14+ }
15+ }
1316 }
1417}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ namespace StaticMarker
1616{
1717 public class MarkerPlugin : TorchPluginBase , IWpfPlugin
1818 {
19- const string ConfigFile = "StaticMarkerEntries .cfg" ;
19+ const string ConfigFile = "StaticMarker .cfg" ;
2020 const string ConfigMarkersFile = "StaticMarkerEntries.cfg" ;
2121
2222 private MarkerControl _control ;
You can’t perform that action at this time.
0 commit comments