forked from MonoGame/MonoGame
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e55c93d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kungfubanana
I was thinking the same thing for using Game.IsActive instead of introducing a new variable in the class.
Did we work out the Game.IsActive issue on iOS? I know we did for Mac.
e55c93d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like I said I'm not sure how you guys want to solve it. I know the easiest way I could see immediately was to put it in the BeforeUpdate() and BeforeDraw() functions, and Game.IsActive was not already used in there which I thought was strange. If using Game.IsActive is better, then it should be used, I'm just not familiar with how the vars are used in there.
e55c93d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fix is working for me! Please commit!
e55c93d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like your fix works (and is much prettier). I reverted the change in my fork.
thanks guys!