From c15d8edcceaf3d2a12298d08d188d789a5c86b6f Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sat, 24 May 2014 22:02:07 +0200 Subject: Check is timer is null --- src/esieequest/view/web/WebInterface.java | 3 +++ 1 file changed, 3 insertions(+) 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 { * Skips the currently player Scene. */ private void skipScene() { + if (this.timer == null) { + return; + } if (this.timer.isRunning()) { this.timer.cancel(); this.timer.run(); -- cgit v1.2.3