Handle qui quit

This commit is contained in:
jl777
2019-02-02 07:40:55 -11:00
parent 2cf3d519aa
commit 4ffdae4135
5 changed files with 36 additions and 22 deletions

View File

@@ -260,6 +260,8 @@ over:
after = FALSE;
q_comm = TRUE;
quit(0);
if ( rs->needflush == 0 )
rs->needflush = (uint32_t)time(NULL);
q_comm = FALSE;
when 'i': after = FALSE; inventory(rs,pack, 0);
when 'I': after = FALSE; picky_inven(rs);