word around some race condition to avoid crash

Reported by Play Store user; can't reproduce but this should fix it.
This commit is contained in:
Eric House 2020-04-29 10:37:42 -07:00
parent 1969b1137e
commit 8fb21002ad

View file

@ -865,7 +865,7 @@ public class GameConfigDelegate extends DelegateBase
protected boolean handleBackPressed()
{
boolean consumed = false;
if ( ! isFinishing() ) {
if ( ! isFinishing() && null != m_gi ) {
if ( m_isNewGame ) {
deleteGame();
} else {