Fixes unexpected error after opening an imported game.
Merge pull request #783 from RotaruDan/openGameFix

Fixes unexpected error after opening an imported game.