diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-06-02 12:08:30 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-06-02 12:08:41 +0200 |
commit | 7454aa6ad767e564ff02286ce917ada6274fed79 (patch) | |
tree | 5a0d139c97e2c809bb58b1831534591e872be9c6 /android/src | |
parent | c53857371fbf67eedf0d71830bceb9315b410503 (diff) | |
download | RustAndDust-7454aa6ad767e564ff02286ce917ada6274fed79.zip RustAndDust-7454aa6ad767e564ff02286ce917ada6274fed79.tar.gz |
Backend: opponent is me at init
Diffstat (limited to 'android/src')
-rw-r--r-- | android/src/ch/asynk/rustanddust/android/AndroidBackend.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/ch/asynk/rustanddust/android/AndroidBackend.java b/android/src/ch/asynk/rustanddust/android/AndroidBackend.java index f042894..33cdc4e 100644 --- a/android/src/ch/asynk/rustanddust/android/AndroidBackend.java +++ b/android/src/ch/asynk/rustanddust/android/AndroidBackend.java @@ -34,6 +34,6 @@ public class AndroidBackend implements Backend me = game.db.storePlayerGetId(accounts[0].name.toString(), "myself"); else me = game.db.storePlayerGetId("me", "myself"); - opponent = game.db.storePlayerGetId("opponent", "other"); + opponent = me; } } |