From 4517c3cfe3e05923d19c7848866fbe597021ceb9 Mon Sep 17 00:00:00 2001 From: MiiKEmblem <102013909+MiiKEmblem@users.noreply.github.com> Date: Tue, 14 May 2024 15:10:37 -0500 Subject: [PATCH] oops part 2 fork lifter lines can be toggled off properly now lol --- Assets/Scripts/Games/ForkLifter/ForkLifter.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/Games/ForkLifter/ForkLifter.cs b/Assets/Scripts/Games/ForkLifter/ForkLifter.cs index 083f01aa8..1365ef3a0 100644 --- a/Assets/Scripts/Games/ForkLifter/ForkLifter.cs +++ b/Assets/Scripts/Games/ForkLifter/ForkLifter.cs @@ -303,10 +303,15 @@ namespace HeavenStudio.Games Gradients[i].gameObject.SetActive(gradType == (i)); } - if (lines && gradType != 2) + if (gradType != 2) { - mmLines.gameObject.SetActive(true); + mmLines.gameObject.SetActive(lines); } + else + { + mmLines.gameObject.SetActive(false); + } + vCircleToggle = (vCircle); }