Cataclysm-dda: Cannot save in Defense Mode

Created on 24 May 2016  路  6Comments  路  Source: CleverRaven/Cataclysm-DDA

When playing defense mode the game prompts "cannot save in defense mode" and does not allow you to save.

Most helpful comment

What's the problem then?

All 6 comments

What's the problem then?

@DearVarun It's not a bug, it's a feature.

i've mentioned this issue before, but it looks like they have no intention of fixing this (among many, MANY other issues with defense mode) because, from what i gathered, the person who was developing defense mode stopped working on it. it's completely unfair that you're not allowed to play defense mode on laptops or are forced to restart every time you encounter a gamebreaking bug, but we have to deal with it until someone in charge decides to change something.

@Rivet-the-Zombie I can't seem to be able to save even when no enemies are present in the wave

@codemime It seems slightly nonsensical to prevent people from saving even when there are enemies present because you can do it in survival.

Anyone know where the code for defense mode is.

I searched "defense_game", and there were hits in defense.cpp, gamemode.cpp and gamemode.h. I then searched "special_game", which led to game.h/cpp, gamemode.h/cpp, worldfactory.h/cpp, main_menu.cpp and enums.h.

And so your adventure begins! Good luck!

edit: line 133 of defense.cpp has the offending action of blocking saves. You can start by removing that, running in debug mode and watching the chaos!

Was this page helpful?
0 / 5 - 0 ratings