updated phaser_demo_2

removed unnecessary condition check