diff --git a/isometric-park-fna/UI/ForestWindow.cs b/isometric-park-fna/UI/ForestWindow.cs --- a/isometric-park-fna/UI/ForestWindow.cs +++ b/isometric-park-fna/UI/ForestWindow.cs @@ -43,13 +43,13 @@ int new_tree_planting = sim.tree_planting; ImGui.Text("Tree Planting: "); ImGui.SameLine(); - ImGui.SliderInt("", ref new_tree_planting, 0, Simulation.MAX_TREES_TO_PLANT, string.Format("%d (${0})", new_tree_planting*Simulation.TREE_PLANT_COST)); + ImGui.SliderInt("##tree_planting", ref new_tree_planting, 0, Simulation.MAX_TREES_TO_PLANT, string.Format("%d (${0})", new_tree_planting*Simulation.TREE_PLANT_COST)); sim.tree_planting = new_tree_planting; int new_tree_clearing = sim.tree_clearing; ImGui.Text("Tree Clearing: "); ImGui.SameLine(); - ImGui.SliderInt("", ref new_tree_clearing, 0, Simulation.MAX_TREES_TO_CLEAR, string.Format("%d (${0})", new_tree_clearing*Simulation.TREE_CLEAR_COST)); + ImGui.SliderInt("##tree_clearing", ref new_tree_clearing, 0, Simulation.MAX_TREES_TO_CLEAR, string.Format("%d (${0})", new_tree_clearing*Simulation.TREE_CLEAR_COST)); sim.tree_clearing = new_tree_clearing; ImGui.Text("Tresspassing policy:");