From 7ab0c94eae168c3cd3a048e4506f6240afde0b09 Mon Sep 17 00:00:00 2001 From: zahndy Date: Tue, 25 Apr 2023 13:41:11 +0200 Subject: [PATCH] Update LaserRecolorJank.cs Fix for DynVar Fields clearing themselves. --- LaserRecolorJank/LaserRecolorJank.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LaserRecolorJank/LaserRecolorJank.cs b/LaserRecolorJank/LaserRecolorJank.cs index a3f9520..73fc73b 100644 --- a/LaserRecolorJank/LaserRecolorJank.cs +++ b/LaserRecolorJank/LaserRecolorJank.cs @@ -61,9 +61,9 @@ public class Patch : NeosMod private static ModConfigurationKey RIGHT_FAR = new ModConfigurationKey("right_far", "Right Far Color", () => new color(.25F, 1F, 1F, 1F)); [AutoRegisterConfigKey] - private static ModConfigurationKey RIGHT_NEAR_VAR = new ModConfigurationKey("right_near_var", "Right Near Color Dynamic Variable", () => null); + private static ModConfigurationKey RIGHT_NEAR_VAR = new ModConfigurationKey("right_near_var", "Right Near Color Dynamic Variable", () => ""); [AutoRegisterConfigKey] - private static ModConfigurationKey RIGHT_FAR_VAR = new ModConfigurationKey("right_far_var", "Right Far Color Dynamic Variable", () => null); + private static ModConfigurationKey RIGHT_FAR_VAR = new ModConfigurationKey("right_far_var", "Right Far Color Dynamic Variable", () => ""); [AutoRegisterConfigKey] private static ModConfigurationKey RIGHT_CURSOR_SCALE = new ModConfigurationKey("right_cursor_scale", "The scale of the right cursor", () => 1F); @@ -93,9 +93,9 @@ public class Patch : NeosMod private static ModConfigurationKey LEFT_FAR = new ModConfigurationKey("left_far", "Left Far Color", () => new color(.25F, 1F, 1F, 1F)); [AutoRegisterConfigKey] - private static ModConfigurationKey LEFT_NEAR_VAR = new ModConfigurationKey("left_near_var", "Left Near Color Dynamic Variable", () => null); + private static ModConfigurationKey LEFT_NEAR_VAR = new ModConfigurationKey("left_near_var", "Left Near Color Dynamic Variable", () => ""); [AutoRegisterConfigKey] - private static ModConfigurationKey LEFT_FAR_VAR = new ModConfigurationKey("left_far_var", "Left Far Color Dynamic Variable", () => null); + private static ModConfigurationKey LEFT_FAR_VAR = new ModConfigurationKey("left_far_var", "Left Far Color Dynamic Variable", () => ""); [AutoRegisterConfigKey] private static ModConfigurationKey LEFT_CURSOR_SCALE = new ModConfigurationKey("left_cursor_scale", "The scale of the left cursor", () => 1F);