Changed memory calculation and fixed gc not being reenabled after death
This commit is contained in:
@@ -23,10 +23,6 @@ class GameOverState extends FlxTransitionableState
|
||||
|
||||
override function create()
|
||||
{
|
||||
if (!FlxG.save.data.GC) {
|
||||
Gc.enable(true);
|
||||
trace("Player died. We can reenable the garbage collector");
|
||||
}
|
||||
var loser:FlxSprite = new FlxSprite(100, 100);
|
||||
var loseTex = Paths.getSparrowAtlas('lose');
|
||||
loser.frames = loseTex;
|
||||
|
||||
Reference in New Issue
Block a user