maybe it should be like this? part 2

This commit is contained in:
Mark Zharkov committed 2025-02-06 22:49:17 +03:00
1 parent 7244d8fcd7
commit 5180e3cc4b
2 files changed
+20 -20

No files matched your search

@@ -65,7 +65,7 @@ public class EventGuiScriptList extends SubGuiInterface {
if(button.id == 1 && this.scroll1.hasSelected()) {
this.container.scripts.add(this.scroll1.getSelected());
this.scroll1.selected = -1;
this.scroll1.selected = -1;
this.scroll2.selected = -1;
this.initGui();
}
@@ -85,14 +85,14 @@ public class EventGuiScriptList extends SubGuiInterface {
}
this.scroll1.selected = -1;
this.scroll1.selected = -1;
this.scroll2.selected = -1;
this.initGui();
}
if(button.id == 4) {
this.container.scripts.clear();
this.scroll1.selected = -1;
this.scroll1.selected = -1;
this.scroll2.selected = -1;
this.initGui();
}