diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-06-29 14:54:17 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-06-29 14:54:17 +0200 |
commit | 92968cd8a14d7dbadbab4056b9722adb59ae1b8d (patch) | |
tree | 24bdb5bb40102ddc38a633c11f999c650d4795b1 /desktop/src/ch | |
parent | 335600076e6792d639f239dd8babb3d54f81407b (diff) | |
download | RustAndDust-92968cd8a14d7dbadbab4056b9722adb59ae1b8d.zip RustAndDust-92968cd8a14d7dbadbab4056b9722adb59ae1b8d.tar.gz |
Backend: param RustAndDust game is final
Diffstat (limited to 'desktop/src/ch')
-rw-r--r-- | desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java | 2 |
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 db7f212..f7d235e 100644 --- a/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java +++ b/desktop/src/ch/asynk/rustanddust/desktop/DesktopBackend.java @@ -15,7 +15,7 @@ public class DesktopBackend implements Backend public int getMyId() { return me; } public int getOpponentId() { return opponent; } - public void init(RustAndDust game) + public void init(final RustAndDust game) { me = game.db.storePlayerGetId("me", "myself"); opponent = me; |