aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index ef2e776..75cc1db 100644
--- a/init.lua
+++ b/init.lua
@@ -1,5 +1,6 @@
atm = {}
atm.balance = {}
+atm.pth = minetest.get_worldpath().."/atm_accounts"
function atm.showform (player)
atm.readaccounts()
@@ -32,7 +33,6 @@ end
function atm.readaccounts ()
- atm.pth = minetest.get_worldpath().."/atm_accounts"
local file = io.open(atm.pth, "r")
if file then
repeat