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

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 15:51:42 +02:00 committed by GitHub
parent e7f85d404d
commit 38c74a968b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)
{