Permalink
Browse files

made flxg.log() able to split out arrays using flxu.formatarray

  • Loading branch information...
1 parent 338f640 commit 4ac1879cc732a94c5f75b3a42fdf09d616216344 @AdamAtomic committed Aug 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 org/flixel/FlxG.as
View
2 org/flixel/FlxG.as
@@ -246,7 +246,7 @@ package org.flixel
static public function log(Data:Object):void
{
if((_game != null) && (_game._debugger != null))
- _game._debugger.log.add((Data == null)?"ERROR: null object":Data.toString());
+ _game._debugger.log.add((Data == null)?"ERROR: null object":((Data is Array)?FlxU.formatArray(Data as Array):Data.toString()));
}
/**

0 comments on commit 4ac1879

Please sign in to comment.