one more instead_clear
This commit is contained in:
parent
f37c6646eb
commit
63e08dd202
|
@ -116,6 +116,7 @@ char *instead_retval(int n)
|
|||
if (!L)
|
||||
return NULL;
|
||||
N = lua_gettop(L); /* number of arguments */
|
||||
/* fprintf(stderr,"%d\n", N); */
|
||||
if (n - N >= 0)
|
||||
return NULL;
|
||||
s = (char*)lua_tostring(L, n - N);
|
||||
|
|
|
@ -362,7 +362,7 @@ int game_menu_act(const char *a)
|
|||
// free_last();
|
||||
game_select(curgame_dir);
|
||||
game_menu_box(0, NULL);
|
||||
instead_eval("game:ini()");
|
||||
instead_eval("game:ini()"); instead_clear();
|
||||
game_cmd("look");
|
||||
s = game_save_path(0, 0);
|
||||
if (s && !access(s, R_OK) && opt_autosave)
|
||||
|
|
Reference in a new issue