Fixed SubGuiAnimationOptions not closing on escape

This commit is contained in:
bigguy345 committed 2024-08-11 19:55:00 +03:00
1 parent 2fba593647
commit 37e93df24a
1 file changed
+2
@@ -12,6 +12,7 @@ public class SubGuiAnimationOptions extends SubGuiInterface {
public SubGuiAnimationOptions(Animation animation) {
this.animation = animation;
setBackground("smallbg.png");
closeOnEsc = true;
}
@Override
@@ -50,6 +51,7 @@ public class SubGuiAnimationOptions extends SubGuiInterface {
animation.whileMoving = value == 0;
}
initGui();
}
}