diff options
author | Pacien TRAN-GIRARD | 2014-05-24 22:02:07 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-05-24 22:02:07 +0200 |
commit | c15d8edcceaf3d2a12298d08d188d789a5c86b6f (patch) | |
tree | cf0444e64fbf5b1f14a53a627ad12c287bb97c86 | |
parent | b101af8db0558a686cabbe80d75b48d42afdc9ae (diff) | |
download | esieequest-c15d8edcceaf3d2a12298d08d188d789a5c86b6f.tar.gz |
Check is timer is null
-rw-r--r-- | src/esieequest/view/web/WebInterface.java | 3 |
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(); |