]> Pileus Git - ~andy/spades/commitdiff
Clear text windows before replaying log
authorAndy Spencer <andy753421@gmail.com>
Mon, 27 Oct 2014 23:48:26 +0000 (23:48 +0000)
committerAndy Spencer <andy753421@gmail.com>
Mon, 27 Oct 2014 23:48:26 +0000 (23:48 +0000)
src/org/pileus/spades/Main.java

index e4bac7fc96d83284d25c7aea8df8254dd6572c07..4d32742b2c3f71de75a259a052163f19962fe186 100644 (file)
@@ -143,7 +143,9 @@ public class Main extends Activity
                Os.debug("Main: onRegister");
                this.task      = task;
                this.game.task = task;
                Os.debug("Main: onRegister");
                this.task      = task;
                this.game.task = task;
-               this.running = this.task.isRunning();
+               this.running   = this.task.isRunning();
+               this.log.setText("");
+               this.debug.setText("");
                for (Object obj : this.task.getLog()) {
                        if (String.class.isInstance(obj))
                                this.notice((String)obj);
                for (Object obj : this.task.getLog()) {
                        if (String.class.isInstance(obj))
                                this.notice((String)obj);