diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-24 10:18:12 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-24 10:18:12 +0100 |
commit | 69051769e9cd46652f17936684e1ff44c247f5e5 (patch) | |
tree | f81b236553366d0d23f1a2bb12d023adc424c6b9 /core | |
parent | c364908c5b56d38ea76056fc32b865df340fc698 (diff) | |
download | RustAndDust-69051769e9cd46652f17936684e1ff44c247f5e5.zip RustAndDust-69051769e9cd46652f17936684e1ff44c247f5e5.tar.gz |
PlayMenu: on delete, hide buttons
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/rustanddust/menu/PlayMenu.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/menu/PlayMenu.java b/core/src/ch/asynk/rustanddust/menu/PlayMenu.java index 1a6d5ce..4922023 100644 --- a/core/src/ch/asynk/rustanddust/menu/PlayMenu.java +++ b/core/src/ch/asynk/rustanddust/menu/PlayMenu.java @@ -49,6 +49,8 @@ public class PlayMenu extends Patch implements MenuCtrl.Panel if (ok) { game.db.deleteGame(GameRecord.remove(getList().getIdx())); getList().unselect(); + deleteBtn.visible = false; + resumeBtn.visible = false; } return MenuCtrl.MenuType.NONE; } |