Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fank committed Nov 18, 2018
1 parent b393f17 commit eeb00c7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
7 changes: 1 addition & 6 deletions StaticMarker/MarkerConfig.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Torch;
using Torch;

namespace StaticMarker
{
Expand Down
15 changes: 9 additions & 6 deletions StaticMarker/MarkerEntriesConfig.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections.Generic;
using VRage.Game;

namespace StaticMarker
{
public class MarkerEntriesConfig
{
public List<MyObjectBuilder_Gps.Entry> Entries = new List<MyObjectBuilder_Gps.Entry>();
private List<MyObjectBuilder_Gps.Entry> _entries = new List<MyObjectBuilder_Gps.Entry>();
public List<MyObjectBuilder_Gps.Entry> Entries {
get => _entries;
set {
_entries.Clear();
_entries.AddRange(value);
}
}
}
}
2 changes: 1 addition & 1 deletion StaticMarker/MarkerPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace StaticMarker
{
public class MarkerPlugin : TorchPluginBase, IWpfPlugin
{
const string ConfigFile = "StaticMarkerEntries.cfg";
const string ConfigFile = "StaticMarker.cfg";
const string ConfigMarkersFile = "StaticMarkerEntries.cfg";

private MarkerControl _control;
Expand Down

0 comments on commit eeb00c7

Please sign in to comment.