Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 4ac1879cc732a94c5f75b3a42fdf09d616216344 1 parent 338f640
Adam 'Atomic' Saltsman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  org/flixel/FlxG.as
2  org/flixel/FlxG.as
View
@@ -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()));
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.