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
|
return
|
||||||
end
|
end
|
||||||
if(changes_made) then
|
if(changes_made) then
|
||||||
|
changes_made = false
|
||||||
save_exchange_rate()
|
save_exchange_rate()
|
||||||
end
|
end
|
||||||
ttime = 0
|
ttime = 0
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_on_shutdown(function()
|
minetest.register_on_shutdown(function()
|
||||||
save_exchange_rate()
|
if(changes_made) then
|
||||||
|
save_exchange_rate()
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
local function get_bank_formspec(number, pos)
|
local function get_bank_formspec(number, pos)
|
||||||
|
@ -34,13 +34,16 @@ minetest.register_globalstep(function(t)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
if(changes_made) then
|
if(changes_made) then
|
||||||
|
changes_made = false
|
||||||
save_exchange_rate()
|
save_exchange_rate()
|
||||||
end
|
end
|
||||||
ttime = 0
|
ttime = 0
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_on_shutdown(function()
|
minetest.register_on_shutdown(function()
|
||||||
save_exchange_rate()
|
if(changes_made) then
|
||||||
|
save_exchange_rate()
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
local function get_bank_formspec(number, pos)
|
local function get_bank_formspec(number, pos)
|
||||||
|
@ -34,13 +34,16 @@ minetest.register_globalstep(function(t)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
if(changes_made) then
|
if(changes_made) then
|
||||||
|
changes_made = false
|
||||||
save_exchange_rate()
|
save_exchange_rate()
|
||||||
end
|
end
|
||||||
ttime = 0
|
ttime = 0
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_on_shutdown(function()
|
minetest.register_on_shutdown(function()
|
||||||
save_exchange_rate()
|
if(changes_made) then
|
||||||
|
save_exchange_rate()
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
local function get_bank_formspec(number, pos)
|
local function get_bank_formspec(number, pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user