don't overwrite m_gi on resuming activity as it may contain

local/pending changes.  Fixes bug where you change language, then
choose "download more..." from a player's dict choice spinner and find
on returning to GameConfig that the language has reverted.
This commit is contained in:
Andy2 2011-09-03 22:19:10 -07:00
parent eab067fe32
commit d82193ff05

View file

@ -457,7 +457,9 @@ public class GameConfig extends XWActivity
handleLockedChange();
}
m_gi = new CurGameInfo( this, m_giOrig );
if ( null == m_gi ) {
m_gi = new CurGameInfo( this, m_giOrig );
}
m_carOrig = new CommsAddrRec( this );
if ( XwJNI.game_hasComms( gamePtr ) ) {