File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ namespace RTE {
32
32
33
33
if (!System::IsInExternalModuleValidationMode ()) {
34
34
// Attempt to save the game itself, so the player can hopefully resume where they were.
35
- bool abortSaveMade = g_ActivityMan.SaveCurrentGame (" AbortSave" );
35
+ bool abortSaveMade = false ;
36
+ if (g_ActivityMan.GetActivityAllowsSaving ()) {
37
+ abortSaveMade = g_ActivityMan.SaveCurrentGame (" AbortSave" );
38
+ }
36
39
37
40
// Save out the screen bitmap, after making a copy of it, faster sometimes.
38
41
if (screen) {
@@ -55,7 +58,7 @@ namespace RTE {
55
58
56
59
std::string abortMessage = " Runtime Error in file '" + fileName + " ', line " + std::to_string (line) + " , because:\n\n " + description + " \n\n " ;
57
60
if (abortSaveMade) {
58
- abortMessage += " The game has attempted to save to 'AbortSave'.\n " ;
61
+ abortMessage += " The game has saved to 'AbortSave'.\n " ;
59
62
}
60
63
abortMessage += " The console has been dumped to 'AbortLog.txt'.\n The last frame has been dumped to 'AbortScreen.bmp'." ;
61
64
You can’t perform that action at this time.
0 commit comments