floatxpBonus=1.1f;//10% XP bonus for finishing a stage.
floatxpBonus=1.1f;//10% XP bonus for finishing a stage.
if(Component<MenuLabel>(LEVEL_COMPLETE,"Stage Complete Label")->GetLabel()!="Stage Summary"){//If the label says stage summary, we didn't actually complete the level. Don't reward any stage items to the player.
if(Component<MenuLabel>(LEVEL_COMPLETE,"Stage Complete Label")->GetLabel()!="Stage Summary"){//If the label says stage summary, we didn't actually complete the level. Don't reward any stage items to the player.