stop user from going back when on top level
All checks were successful
/ Build & Publish (push) Successful in 47s

This commit is contained in:
Daniella 2024-06-25 10:40:17 +02:00
parent 2ff1e9e758
commit 53d55324f9
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -57,9 +57,9 @@ public class ClientBoot {
} }
public void back() { public void back() {
if(window.options.size() == 1)
return;
window.options.pop(); window.options.pop();
if(window.options.isEmpty())
finish();
window.selected = 0; window.selected = 0;
window.checkSelected(false); window.checkSelected(false);
} }