fix: not loading t6 weapon camo shader consts from json

This commit is contained in:
Jan
2024-03-24 16:57:47 +01:00
parent b1ff653dc8
commit e62e4c873e
2 changed files with 8 additions and 1 deletions

View File

@ -132,6 +132,9 @@ namespace
weaponCamoMaterial.camoMaterials = nullptr;
}
for (auto i = 0u; i < std::extent_v<decltype(WeaponCamoMaterial::shaderConsts)>; i++)
weaponCamoMaterial.shaderConsts[i] = jWeaponCamoMaterial.shaderConsts[i];
return true;
}