Skip to content
Snippets Groups Projects
Commit ca041e33 authored by rswindell's avatar rswindell
Browse files

Fix bugs: can't return from a non-function and close the .ini file.

parent 8dabb0d6
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,9 @@ function get_mod_options(modname)
}
var obj = ini_file.iniGetObject(modname);
ini_file.close();
delete ini_file;
return obj;
}
return get_mod_options(argv[0]);
\ No newline at end of file
get_mod_options(argv[0]);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment