random_messages: increase message interval
This commit is contained in:
parent
2dda8597b7
commit
1a6e9cb3b2
1 changed files with 2 additions and 2 deletions
|
@ -27,9 +27,9 @@ function table.random( t )
|
||||||
end
|
end
|
||||||
|
|
||||||
function random_messages.initialize() --Set the interval in minetest.conf.
|
function random_messages.initialize() --Set the interval in minetest.conf.
|
||||||
minetest.setting_set("random_messages_interval",300)
|
minetest.setting_set("random_messages_interval",1800)
|
||||||
minetest.setting_save();
|
minetest.setting_save();
|
||||||
return 300
|
return 1800
|
||||||
end
|
end
|
||||||
|
|
||||||
function random_messages.set_interval() --Read the interval from minetest.conf(set it if it doesn'st exist)
|
function random_messages.set_interval() --Read the interval from minetest.conf(set it if it doesn'st exist)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue