From 4f25d3f0d45c5acfcd6f24b2056cfff0823701a4 Mon Sep 17 00:00:00 2001 From: Jade Macho Date: Sun, 18 Aug 2024 14:42:24 +0200 Subject: [PATCH] Fix some times of day changing the void temperature --- VoidBox/Plugin.cs | 2 +- VoidBox/VoidBox.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VoidBox/Plugin.cs b/VoidBox/Plugin.cs index b9fcb9f..2162499 100644 --- a/VoidBox/Plugin.cs +++ b/VoidBox/Plugin.cs @@ -174,7 +174,7 @@ public sealed unsafe class Plugin : IDalamudPlugin dest->SkyId == 0 && dest->Clouds.Gradient == 0.5f && dest->Lighting._unk1 == 0.5f && - dest->Lighting.Temperature == 0.6f && + Math.Abs(dest->Lighting.Temperature - 0.6f) < 0.01f && dest->Lighting._unk2 == 0.5f && dest->Fog.Color == new Vector4(0, 0, 0, 0) && dest->Fog.Distance == 0.0f && diff --git a/VoidBox/VoidBox.csproj b/VoidBox/VoidBox.csproj index df129c2..f80a6df 100644 --- a/VoidBox/VoidBox.csproj +++ b/VoidBox/VoidBox.csproj @@ -3,7 +3,7 @@ 0x0ade - 0.1.0.8 + 0.1.0.9