currentSphere issue

This commit is contained in:
斟酌 鵬兄 2015-01-09 22:00:25 +08:00
parent 719f87c558
commit 88f8bf9fac

View File

@ -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