Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent passing null to FlxObject.add() #87

Merged
merged 1 commit into from
Sep 18, 2012

Conversation

IQAndreas
Copy link
Member

If null is passed, Flixel will log a warning,
and as expected, will return the object passed in (null).

Resolves the following issues:

If null is passed, Flixel will log a warning,
and as expected, will return the object passed in (null).

Resolves the following issues:
 - FlixelCommunity#65
 - AdamAtomic#163
@Dovyski
Copy link
Member

Dovyski commented Sep 17, 2012

Log a warning looks more like Flixel usual behavior. It's better than throw an exception. For me it's ok to merge.

moly added a commit that referenced this pull request Sep 18, 2012
Prevent passing `null` to FlxObject
@moly moly merged commit 39defb4 into FlixelCommunity:dev Sep 18, 2012
@IQAndreas IQAndreas mentioned this pull request Oct 15, 2013
5 tasks
@IQAndreas IQAndreas deleted the fix_issue_163 branch November 17, 2013 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants