mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-25 04:01:03 +00:00
LUA: Fix copy'n'paste error
This commit is contained in:
parent
8ba97cb063
commit
ff74216678
@ -169,7 +169,7 @@ static int32 addfile(LuaFile *f) {
|
||||
static void io_readfrom() {
|
||||
lua_Object f = lua_getparam(FIRSTARG);
|
||||
if (f == LUA_NOOBJECT) {
|
||||
if (getfile(FOUTPUT) != getfile(1)) {
|
||||
if (getfile(FINPUT) != getfile(1)) {
|
||||
closefile(FINPUT);
|
||||
setreturn(1, FINPUT);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user