From 88f8bf9fac16865bac6c1227f95189edc6565658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Fri, 9 Jan 2015 22:00:25 +0800 Subject: [PATCH] currentSphere issue --- Dragonfly.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dragonfly.js b/Dragonfly.js index 4b2a853..a238e61 100644 --- a/Dragonfly.js +++ b/Dragonfly.js @@ -87,9 +87,9 @@ Dragonfly.prototype.Log = function( mesg, sphere, visibility ) sphere += visibility; var write = true; - if( Dragonfly.currentSphere < sphere ) + if( this.currentSphere < sphere ) { - write = ( Dragonfly.currentSphere % 10 < sphere % 10 ); + write = ( this.currentSphere % 10 < sphere % 10 ); } // Writeline if yes