fix fast-track array copying
This commit is contained in:
parent
d29c01b815
commit
ff523c619a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue