Permalink
Browse files

fade fix + some cleanup

  • Loading branch information...
1 parent 856a240 commit e2d8f4ab534e67acd99a03be163b97d75a4758e8 @rottor committed May 9, 2012
Showing with 2 additions and 4 deletions.
  1. +0 −2 app.nmml
  2. +2 −2 src/PlayState.hx
View
@@ -13,8 +13,6 @@
<haxelib name="nme" />
<haxelib name="flixel" />
- <!--<assets path="assets" rename="assets" include="*" />-->
-
<assets path="assets" rename="assets" include="*" exclude="*.svg" unless="target_flash" />
<assets path="assets" rename="assets" include="*" exclude="*.svg|*.wav|*.ogg" if="target_flash" />
View
@@ -93,8 +93,8 @@ class PlayState extends FlxState
add(resetBtn);
quitBtn = new FlxButton(FlxG.width - resetBtn.width - 4, FlxG.height - 24, "Quit"
- , function() { FlxG.fade(0xff000000, 0.22, true,
- function() { FlxG.switchState(new MenuState());} );
+ , function() { FlxG.fade( 0xff000000, 0.22, false
+ , function() { FlxG.switchState(new MenuState());} );
} );
add(quitBtn);

0 comments on commit e2d8f4a

Please sign in to comment.