# A game destroying error

**URL:** <https://discourse.cataclysmdda.org/t/a-game-destroying-error/17280>\
**Category:** The Garage\
**Created:** [November 1, 2018, 6:26am UTC](https://discourse.cataclysmdda.org/t/a-game-destroying-error/17280 "2018-11-01T06:26:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Cahoon](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/brian_cahoon/32/6070_2.png) [@Brian\_Cahoon](https://discourse.cataclysmdda.org/u/Brian_Cahoon)\
**Post date:** [November 1, 2018, 6:26am UTC](https://discourse.cataclysmdda.org/t/a-game-destroying-error/17280/1 "2018-11-01T06:26:34Z")

</div>

This has happened to me for a few days now. Im on Android, game version 0.c-32639-ga6637cd7fc. Ill be playing and something or another causes my game to minimize. I assume it then saves as per the options save when minimized. I must then restart the game. As its loading I get this error.

DEBUG : Tried to set NULL submap pointer at index 2520

FUNCTION : void map::setsubmap(const size\_t, submap \*const)  
FILE : /home/zhilkin/Cataclysm-DDA/android/app/jni/src/map.cpp  
LINE : 7631

The game will not load any further and I must start a new game, with a new world and everything. Why does this error happen? Any way I can fix it because constantly restarting is killing my enjoyment of this game.

---

<div class="post-metadata">

**Author:** ![Stebby](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@Stebby](https://discourse.cataclysmdda.org/u/Stebby)\
**Post date:** [November 1, 2018, 10:18pm UTC](https://discourse.cataclysmdda.org/t/a-game-destroying-error/17280/2 "2018-11-01T22:18:37Z")

</div>

The saving before minimizing is just an experimental for the time being. And it was said (in the options) that it may result in corrupt save files. Sadly you may need to restart.

---

<div class="post-metadata">

**Author:** ![Sanehatter](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@Sanehatter](https://discourse.cataclysmdda.org/u/Sanehatter)\
**Post date:** [November 1, 2018, 10:44pm UTC](https://discourse.cataclysmdda.org/t/a-game-destroying-error/17280/3 "2018-11-01T22:44:29Z")

</div>

To add on that, any of the auto-saving features risk corrupting your saves.  
At least some months ago they still did.

---

<div class="post-metadata">

**Author:** ![Brian\_Cahoon](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/brian_cahoon/32/6070_2.png) [@Brian\_Cahoon](https://discourse.cataclysmdda.org/u/Brian_Cahoon)\
**Post date:** [November 2, 2018, 7:12am UTC](https://discourse.cataclysmdda.org/t/a-game-destroying-error/17280/4 "2018-11-02T07:12:19Z")

</div>

Ahh yes you are right. I see what you are saying. That sucks but atleast I know about it now and maybe have it stop happening. Thanks a ton!
