aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-05-24 22:02:07 +0200
committerPacien TRAN-GIRARD2014-05-24 22:02:07 +0200
commitc15d8edcceaf3d2a12298d08d188d789a5c86b6f (patch)
treecf0444e64fbf5b1f14a53a627ad12c287bb97c86
parentb101af8db0558a686cabbe80d75b48d42afdc9ae (diff)
downloadesieequest-c15d8edcceaf3d2a12298d08d188d789a5c86b6f.tar.gz
Check is timer is null
-rw-r--r--src/esieequest/view/web/WebInterface.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/esieequest/view/web/WebInterface.java b/src/esieequest/view/web/WebInterface.java
index 1880bee..4366bff 100644
--- a/src/esieequest/view/web/WebInterface.java
+++ b/src/esieequest/view/web/WebInterface.java
@@ -322,6 +322,9 @@ class WebInterface extends Composite implements Viewable {
322 * Skips the currently player Scene. 322 * Skips the currently player Scene.
323 */ 323 */
324 private void skipScene() { 324 private void skipScene() {
325 if (this.timer == null) {
326 return;
327 }
325 if (this.timer.isRunning()) { 328 if (this.timer.isRunning()) {
326 this.timer.cancel(); 329 this.timer.cancel();
327 this.timer.run(); 330 this.timer.run();