This commit is contained in:
jl777
2019-02-10 04:14:17 -11:00
parent 4680ae91da
commit 92ba9815e8
2 changed files with 4 additions and 3 deletions

View File

@@ -265,7 +265,7 @@ over:
after = FALSE;
q_comm = TRUE;
quit(0);
if ( rs->needflush == 0 )
if ( rs->guiflag != 0 && rs->needflush == 0 )
rs->needflush = (uint32_t)time(NULL);
q_comm = FALSE;
when 'i': after = FALSE; inventory(rs,pack, 0);
@@ -282,11 +282,11 @@ over:
when 'c': call(rs); after = FALSE;
when '>': after = FALSE; d_level(rs);
if ( rs->needflush == 0 )
if ( rs->guiflag != 0 && rs->needflush == 0 )
rs->needflush = (uint32_t)time(NULL);
when '<': after = FALSE; u_level(rs);
if ( rs->needflush == 0 )
if ( rs->guiflag != 0 && rs->needflush == 0 )
rs->needflush = (uint32_t)time(NULL);
when '?': after = FALSE; help(rs);

View File

@@ -600,6 +600,7 @@ quit(int sig)
}
else
{
fprintf(stderr,"done!\n");
score(purse, 1, 0);
}
}