From 8fd198c67474349f5fd7eb6b288766773a3ffd4d Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Thu, 19 Oct 2017 02:44:42 +0200 Subject: [PATCH] Ruffy: hopefully unbreak doRTConnect. --- .../src/main/java/org/monkey/d/ruffy/ruffy/driver/Ruffy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruffyscripter/src/main/java/org/monkey/d/ruffy/ruffy/driver/Ruffy.java b/ruffyscripter/src/main/java/org/monkey/d/ruffy/ruffy/driver/Ruffy.java index 83cc345d25..7a191a2b53 100644 --- a/ruffyscripter/src/main/java/org/monkey/d/ruffy/ruffy/driver/Ruffy.java +++ b/ruffyscripter/src/main/java/org/monkey/d/ruffy/ruffy/driver/Ruffy.java @@ -57,11 +57,11 @@ public class Ruffy extends Service { @Override public int doRTConnect() throws RemoteException { + step= 0; if(isConnected()) { rtHandler.rtStarted(); return 0; } - step= 0; if(Ruffy.this.rtHandler==null) { return -2;//FIXME make errors