diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-06-25 15:15:41 +0200 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2016-06-25 15:15:41 +0200 |
commit | c31be8c268722d70d32b6843e038130183657d7a (patch) | |
tree | 5bd3c2969d417c9e0b418cd662503273e5f2d375 /init.lua | |
parent | 6f6a6de54bf7a7562ca374a0f30ac854877dbea2 (diff) | |
download | atm-c31be8c268722d70d32b6843e038130183657d7a.tar.gz atm-c31be8c268722d70d32b6843e038130183657d7a.tar.bz2 atm-c31be8c268722d70d32b6843e038130183657d7a.zip |
Declared atm.pth at the top of the code
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |