Commit 32011311 authored by SmallJoker's avatar SmallJoker

Do not save

parent eec023f4
......@@ -34,13 +34,16 @@ minetest.register_globalstep(function(t)
return
end
if(changes_made) then
changes_made = false
save_exchange_rate()
end
ttime = 0
end)
minetest.register_on_shutdown(function()
save_exchange_rate()
if(changes_made) then
save_exchange_rate()
end
end)
local function get_bank_formspec(number, pos)
......
......@@ -34,13 +34,16 @@ minetest.register_globalstep(function(t)
return
end
if(changes_made) then
changes_made = false
save_exchange_rate()
end
ttime = 0
end)
minetest.register_on_shutdown(function()
save_exchange_rate()
if(changes_made) then
save_exchange_rate()
end
end)
local function get_bank_formspec(number, pos)
......
......@@ -34,13 +34,16 @@ minetest.register_globalstep(function(t)
return
end
if(changes_made) then
changes_made = false
save_exchange_rate()
end
ttime = 0
end)
minetest.register_on_shutdown(function()
save_exchange_rate()
if(changes_made) then
save_exchange_rate()
end
end)
local function get_bank_formspec(number, pos)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment