From 68dfc83f80f359c6aa5087ec5c825daf583fe101 Mon Sep 17 00:00:00 2001 From: Nikita Grebenyuk Date: Wed, 28 Aug 2024 20:45:58 +1000 Subject: [PATCH] fix: uncooked (redkit) CEnvProbeComponent reading --- WolvenKit.CR2W/Types/Utils/CVariable.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/WolvenKit.CR2W/Types/Utils/CVariable.cs b/WolvenKit.CR2W/Types/Utils/CVariable.cs index b9598421..c0032451 100644 --- a/WolvenKit.CR2W/Types/Utils/CVariable.cs +++ b/WolvenKit.CR2W/Types/Utils/CVariable.cs @@ -414,7 +414,11 @@ private List ReadAllRedVariables(BinaryReader br) where T : REDAtt if (this.REDType == "CGameWorld" && varname == "Firstlayer" && !IsCooked()) { continue; - } + } + if (this.REDType == "CEnvProbeComponent" && varname == "Unk1" && !IsCooked()) + { + continue; + } var parsedvar = CR2WTypeManager.Create(vartype, varname, this.cr2w, this); // create new variable and parent to this if (parsedvar == null)