Skip to content

Commit

Permalink
Fix FlxG.removeCamera does not remove the camera from FlxG.cameras
Browse files Browse the repository at this point in the history
  • Loading branch information
Dovyski committed Oct 9, 2012
1 parent dde536b commit f5d8d9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions org/flixel/FlxG.as
Expand Up @@ -848,6 +848,7 @@ package org.flixel
{
try
{
FlxG.cameras.splice(FlxG.cameras.indexOf(Camera), 1);
FlxG._game.removeChild(Camera._flashSprite);
}
catch(E:Error)
Expand Down

0 comments on commit f5d8d9d

Please sign in to comment.