From 9049d13178f17cf95986c6a26dc02676537cf138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 4 Jan 2016 20:37:06 +0100 Subject: OptionsPanel: quick closing --- core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java b/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java index 65b599a..52728b0 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java +++ b/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java @@ -150,6 +150,11 @@ public class OptionsPanel extends Patch } } + if (!super.hit(x,y)) { + apply(); + return true; + } + return false; } -- cgit v1.1-2-g2b99