We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 897f21f commit f52c73eCopy full SHA for f52c73e
flixel/system/debug/console/ConsoleUtil.hx
@@ -80,7 +80,7 @@ class ConsoleUtil
80
*/
81
public static function registerObject(ObjectAlias:String, AnyObject:Dynamic):Void
82
{
83
- if (Reflect.isObject(AnyObject))
+ if (AnyObject == null || Reflect.isObject(AnyObject))
84
interp.variables.set(ObjectAlias, AnyObject);
85
}
86
0 commit comments