diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-14 15:55:44 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-14 15:55:44 +0100 |
commit | 8cf7d3505ec951bf41c4340a0ca5fc29c5daa69f (patch) | |
tree | 82fad3e11571920b9afd94c7f87f56bf08ce3eae /core/src/ch/asynk/rustanddust/menu | |
parent | 3e969f1d7a9966a40657b1ae07b949cde112525b (diff) | |
download | RustAndDust-8cf7d3505ec951bf41c4340a0ca5fc29c5daa69f.zip RustAndDust-8cf7d3505ec951bf41c4340a0ca5fc29c5daa69f.tar.gz |
DB: deleteGame(GameRecord) -> deleteGame(int)
Diffstat (limited to 'core/src/ch/asynk/rustanddust/menu')
-rw-r--r-- | core/src/ch/asynk/rustanddust/menu/PlayMenu.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/menu/PlayMenu.java b/core/src/ch/asynk/rustanddust/menu/PlayMenu.java index 2c9caa4..f1dbe47 100644 --- a/core/src/ch/asynk/rustanddust/menu/PlayMenu.java +++ b/core/src/ch/asynk/rustanddust/menu/PlayMenu.java @@ -49,7 +49,7 @@ public class PlayMenu extends Patch implements MenuCtrl.Panel public MenuCtrl.MenuType postAnswer(boolean ok) { if (ok) { - game.db.deleteGame(GameRecord.remove(getList().getIdx())); + game.db.deleteGame(GameRecord.remove(getList().getIdx()).id); getList().unselect(); showBtns(false); if (GameRecord.list.size() <= 0) |