Removed ideas/typos/bugs when they are aborted.

This commit is contained in:
wyld-sw 2016-02-12 14:27:45 -05:00
parent 165d7feb87
commit 2f12752373
3 changed files with 15 additions and 0 deletions

View file

@ -270,6 +270,7 @@ static void playing_string_cleanup(struct descriptor_data *d, int action)
save_ibt_file(SCMD_IDEA);
} else {
write_to_output(d, "Idea aborted!\r\n");
clean_ibt_list(SCMD_IDEA);
}
}
if (PLR_FLAGGED(d->character, PLR_BUG)) {
@ -278,6 +279,7 @@ static void playing_string_cleanup(struct descriptor_data *d, int action)
save_ibt_file(SCMD_BUG);
} else {
write_to_output(d, "Bug aborted!\r\n");
clean_ibt_list(SCMD_BUG);
}
}
if (PLR_FLAGGED(d->character, PLR_TYPO)) {
@ -286,6 +288,7 @@ static void playing_string_cleanup(struct descriptor_data *d, int action)
save_ibt_file(SCMD_TYPO);
} else {
write_to_output(d, "Typo aborted!\r\n");
clean_ibt_list(SCMD_TYPO);
}
}
}