Bugfix
This commit is contained in:
parent
de229b3038
commit
7bcf08c5ca
1
bank.lua
1
bank.lua
|
@ -180,6 +180,7 @@ if minetest.get_modpath('atm') and rawget(_G, 'atm') and atm.balance then
|
||||||
end,
|
end,
|
||||||
setbal = function(name, bal)
|
setbal = function(name, bal)
|
||||||
atm.balance[name] = bal
|
atm.balance[name] = bal
|
||||||
|
atm.saveaccounts()
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
elseif minetest.get_modpath('bank_accounts') and rawget(_G, 'accounts') and
|
elseif minetest.get_modpath('bank_accounts') and rawget(_G, 'accounts') and
|
||||||
|
|
Loading…
Reference in New Issue