diff --git a/Celeste.Mod.mm/Patches/Distort.cs b/Celeste.Mod.mm/Patches/Distort.cs index a60bffd5c..dbf2fb94e 100644 --- a/Celeste.Mod.mm/Patches/Distort.cs +++ b/Celeste.Mod.mm/Patches/Distort.cs @@ -6,12 +6,8 @@ class patch_Distort { private static float anxiety = 0f; - [MonoModReplace] public new static float Anxiety { - get - { - return anxiety; - } + [MonoModReplace] set { anxiety = value; diff --git a/Celeste.Mod.mm/Patches/MenuButton.cs b/Celeste.Mod.mm/Patches/MenuButton.cs index d55efd0d9..fc47d429a 100644 --- a/Celeste.Mod.mm/Patches/MenuButton.cs +++ b/Celeste.Mod.mm/Patches/MenuButton.cs @@ -12,8 +12,8 @@ abstract class patch_MenuButton : MenuButton { private bool selected; private Tween tween; - [MonoModReplace] - public new Color SelectionColor { + public new Color SelectionColor { + [MonoModReplace] get { if (selected) {