If she wanted to be paid on performance, she could have asked for royalties. As it turns out, she wanted guaranteed money. As such, how well the game did is of no concern to her. If you want to be rewarded when something does well, you need to be prepared to be punished when it fails.