more clever bug handling
This commit is contained in:
parent
c6ef890785
commit
416d0833c9
|
@ -408,7 +408,7 @@ int game_save(int nr)
|
|||
p = instead_cmd(cmd);
|
||||
if (p)
|
||||
free(p);
|
||||
if (!instead_bretval(1) || !p) {
|
||||
if (!instead_bretval(1) || (!p && err_msg)) {
|
||||
instead_clear();
|
||||
game_menu(menu_warning);
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue