From eed65a01ac23ee7ad2f6641b6133b89ec2bf7a76 Mon Sep 17 00:00:00 2001 From: cracyc Date: Thu, 16 Feb 2017 21:50:34 -0600 Subject: plugins/data: create first dir in historypath if it doesn't exist (nw) --- plugins/data/data_hiscore.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/data/data_hiscore.lua') diff --git a/plugins/data/data_hiscore.lua b/plugins/data/data_hiscore.lua index c2dcf0ca370..700a9958ca8 100644 --- a/plugins/data/data_hiscore.lua +++ b/plugins/data/data_hiscore.lua @@ -545,7 +545,7 @@ function dat.check(set, softlist) return script end - if #env == 0 then + if not env.open then function env.open(file, size) if file == ".hi" then local path = "hi" -- cgit v1.2.3