diff --git a/1.5/Assemblies/PerspectivePaths.dll b/1.5/Assemblies/PerspectivePaths.dll
new file mode 100644
index 0000000..6638e6f
Binary files /dev/null and b/1.5/Assemblies/PerspectivePaths.dll differ
diff --git a/About/About.xml b/About/About.xml
index a5ac659..244d70d 100644
--- a/About/About.xml
+++ b/About/About.xml
@@ -5,6 +5,7 @@
Owlchemist.PerspectivePaths
1.4
+ 1.5
1.0
A tile of terrain will either have soft or hard edges depending on its definition. This mod allows the user to override this behavior on a per-tile basis.
@@ -15,4 +16,4 @@
steam://url/CommunityFilePage/2009463077
-
\ No newline at end of file
+
diff --git a/Source/Designators.cs b/Source/Designators.cs
index 348787e..1e026cd 100644
--- a/Source/Designators.cs
+++ b/Source/Designators.cs
@@ -61,7 +61,7 @@ public Designator_InvertEdgesClear() : base(DesignateMode.Remove)
public override void DesignateSingleCell(IntVec3 c)
{
selectedArea[c] = false;
- Find.CurrentMap.mapDrawer.SectionAt(c).dirtyFlags = MapMeshFlag.Terrain;
+ Find.CurrentMap.mapDrawer.SectionAt(c).dirtyFlags = MapMeshFlagDefOf.Terrain;
}
public override AcceptanceReport CanDesignateCell(IntVec3 c)
{
@@ -80,11 +80,11 @@ public Designator_InvertEdgesExpand() : base(DesignateMode.Add)
public override void DesignateSingleCell(IntVec3 c)
{
selectedArea[c] = true;
- Find.CurrentMap.mapDrawer.SectionAt(c).dirtyFlags = MapMeshFlag.Terrain;
+ Find.CurrentMap.mapDrawer.SectionAt(c).dirtyFlags = MapMeshFlagDefOf.Terrain;
}
public override AcceptanceReport CanDesignateCell(IntVec3 c)
{
return c.InBounds(Map) && selectedArea != null && !selectedArea[c] && !c.Impassable(Map);
}
}
-}
\ No newline at end of file
+}
diff --git a/Source/PerspectivePaths.csproj b/Source/PerspectivePaths.csproj
index 6d17405..3990cce 100644
--- a/Source/PerspectivePaths.csproj
+++ b/Source/PerspectivePaths.csproj
@@ -3,7 +3,7 @@
Perspective Paths
1.0
- 1.4
+ 1.5
$([System.DateTime]::Now.ToString('yyyy'))
Owlchemist
net48
@@ -40,4 +40,4 @@
-
\ No newline at end of file
+