D27716: Fix accidental revealing of items when the game is restarted after lost from a middle click.
Yuri Chornoivan <[email protected]>
| Newsgroups | gmane.comp.kde.devel.games |
|---|---|
| Message-ID | <[email protected]> |
yurchor accepted this revision. yurchor added a comment. This revision is now accepted and ready to land. Works for me as expected. INLINE COMMENTS > minefielditem.cpp:442 > item->release(true); > - if(item->isRevealed()) > - onItemRevealed(item); > + // If revealing the item ends the game, stop the loop. > + // since everything that needs to be done for the current game are finished. Typo: .->, > minefielditem.cpp:443 > + // If revealing the item ends the game, stop the loop. > + // since everything that needs to be done for the current game are finished. > + // Otherwise, if the user has restarted the game, we'll be revealing Typo: are finished -> is finished REVISION DETAIL https://phabricator.kde.org/D27716 To: yuyichao, mlaurent, yurchor, #kde_games Cc: kde-games-devel