fix fast-track array copying

This commit is contained in:
atravita-mods 2022-08-19 11:10:19 -04:00 committed by Jesse Plamondon-Willard
parent d29c01b815
commit ff523c619a
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ namespace StardewModdingAPI.Framework.Content
int sourceIndex = areaY * areaWidth;
int targetIndex = 0;
Array.Copy(source.Data, sourceIndex, sourceData, targetIndex, areaWidth);
Array.Copy(source.Data, sourceIndex, sourceData, targetIndex, pixelCount);
}
else