Fix assign.

This commit is contained in:
Relintai 2020-03-30 14:57:07 +02:00
parent 4691e2aaef
commit ee03e42a5a

View File

@ -486,7 +486,7 @@ Array VoxelChunk::bake_mesh_array_uv(Array arr, Ref<Texture> tex, float mul_colo
Color c = img->get_pixelv(uv);
colors[i] = colors[i] * c * mul_color;
colors.set(i, colors[i] * c * mul_color);
}
img->unlock();