diff options
Diffstat (limited to 'plugins/hiscore/init.lua')
-rw-r--r-- | plugins/hiscore/init.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/hiscore/init.lua b/plugins/hiscore/init.lua index 093737a9eec..2a9687d1547 100644 --- a/plugins/hiscore/init.lua +++ b/plugins/hiscore/init.lua @@ -12,7 +12,6 @@ exports.description = "Hiscore" exports.license = "WTFPL license" exports.author = { name = "borgar@borgar.net" } local hiscore = exports -local util = require("util") local hiscore_plugin_path = "" @@ -172,7 +171,7 @@ function hiscore.startplugin() local output = io.open(get_file_name(), "wb"); if not output then -- attempt to create the directory, and try again - util.mkdir_recursive( hiscore_path ); + lfs.mkdir( hiscore_path ); output = io.open(get_file_name(), "wb"); end emu.print_verbose("hiscore: write_scores output") |