Fixed 'end turn' button's state issue.
Merge pull request #2 from thunders/master

Fix 'end turn' button's state issue.