Browse Source

#12 - Fixed crash when starting a wire after changing modes

cognitivegears 2 years ago
parent
commit
6e0b9db3d5
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/com/droidquest/avatars/SolderingPen.java

+ 4
- 0
src/com/droidquest/avatars/SolderingPen.java View File

@@ -429,6 +429,8 @@ public class SolderingPen extends Device implements Avatar {
429 429
             }
430 430
         }
431 431
 
432
+        CheckPort();
433
+
432 434
         level.roomdisplay.dq.selectCursor();
433 435
         return true;
434 436
     }
@@ -506,6 +508,8 @@ public class SolderingPen extends Device implements Avatar {
506 508
 
507 509
         handleRemote();
508 510
 
511
+        CheckPort();
512
+
509 513
         return true;
510 514
     }
511 515
 

Loading…
Cancel
Save