Turf Edges

by Forum_account
Turf Edges
Automatically generates edge icons for turfs and places them on the map.
ID:1958090
 
Do you offer help with your resources?
I've come across a bit of an issue making me think I might have implemented this incorrectly.

I have three main turfs in my project so far, grass, dirt, and water. Grass is edge_weight 0, dirt is 1, and water is 2.

When it creates the edges, grass and dirt work just fine, as do grass and water.
However, dirt and water get a little bit weird. Under most circumstances it's fine, but sometimes the dirt's northeast and southwest corners will poke through the water.

I'm not sure how to go about fixing such a thing?