fix(regions): correct end Z coordinate assignment in InitRectangles

The `ez` variable was incorrectly assigned `rect.End.X` instead of `rect.End.Z`, causing incorrect rectangle processing in region initialization.
This commit is contained in:
Tald0r 2026-08-27 14:38:05 +02:00
parent e7f85d404d
commit f31d481c7f

View file

@ -113,7 +113,7 @@ public class BaseRegion : Region
m_RectBuffer2.RemoveAt(k);
var sz = rect.Start.Z;
var ez = rect.End.X;
var ez = rect.End.Z;
if (l1 < l2)
{