File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ Options:
6262* -iscript - read script line by line and use it as commands;
6363* -lfile - write all input commands to file;
6464* -cpCODEPAGE - Win only (1251 by default), use 65001 for UTF-8;
65- * -a - autosave on exit and autoload on start (autosave file).
65+ * -a - autosave on exit and autoload on start (autosave file);
66+ * -x - execute lua script.
6667
6768## Links
6869
Original file line number Diff line number Diff line change @@ -9,8 +9,12 @@ if API == 'stead3' then
99 local instead = std ' @instead'
1010 instead .restart = instead_restart
1111 instead .menu = instead_menu
12-
12+ instead . savepath = function () return " ./ " end
1313 std .mod_start (function ()
14+ std .mod_init (function ()
15+ std .rawset (_G , ' instead' , instead )
16+ require " ext/sandbox"
17+ end )
1418 local mp = std .ref ' @metaparser'
1519 if mp then
1620 mp .msg .CUTSCENE_MORE = ' ^' .. mp .msg .CUTSCENE_HELP
You can’t perform that action at this time.
0 commit comments