summaryrefslogtreecommitdiffstats
path: root/desktop/src/ch/asynk/rustanddust
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-06-02 12:08:30 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-06-02 12:08:41 +0200
commit7454aa6ad767e564ff02286ce917ada6274fed79 (patch)
tree5a0d139c97e2c809bb58b1831534591e872be9c6 /desktop/src/ch/asynk/rustanddust
parentc53857371fbf67eedf0d71830bceb9315b410503 (diff)
downloadRustAndDust-7454aa6ad767e564ff02286ce917ada6274fed79.zip
RustAndDust-7454aa6ad767e564ff02286ce917ada6274fed79.tar.gz
Backend: opponent is me at init
Diffstat (limited to 'desktop/src/ch/asynk/rustanddust')
-rw-r--r--desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java b/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java
index 22cca60..db7f212 100644
--- a/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java
+++ b/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java
@@ -18,6 +18,6 @@ public class DesktopBackend implements Backend
public void init(RustAndDust game)
{
me = game.db.storePlayerGetId("me", "myself");
- opponent = game.db.storePlayerGetId("opponent", "other");
+ opponent = me;
}
}