forked from mtcontrib/bitchange
Do not save
This commit is contained in:
parent
eec023f449
commit
32011311b6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user