diff --git a/init.lua b/init.lua index 78f07d4..08ea525 100644 --- a/init.lua +++ b/init.lua @@ -32,7 +32,7 @@ end local save_bell_positions = function() - str = minetest.serialize( ({ bell_data = bell_positions}) ) + local str = minetest.serialize( ({ bell_data = bell_positions}) ) local file, err = io.open( BELL_SAVE_FILE, "wb") if (err ~= nil) then diff --git a/settingtypes.txt b/settingtypes.txt index 35f0a08..63a97f0 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -1,3 +1,6 @@ +#Number of times the big bells will toll at local midnight (0 to disable) +#Caution: default Minetest settings cause this to happen once per 20 minutes +bell_tolls_at_midnight (Bell tolls at midnight) int 0 #Number of times the big bells will toll at local dawn (0 to disable) #Caution: default Minetest settings cause this to happen once per 20 minutes bell_tolls_at_dawn (Bell tolls at dawn) int 0 @@ -7,9 +10,6 @@ bell_tolls_at_noon (Bell tolls at noon) int 0 #Number of times the big bells will toll at local dusk (0 to disable) #Caution: default Minetest settings cause this to happen once per 20 minutes bell_tolls_at_dusk (Bell tolls at dusk) int 0 -#Number of times the big bells will toll at local midnight (0 to disable) -#Caution: default Minetest settings cause this to happen once per 20 minutes -bell_tolls_at_midnight (Bell tolls at midnight) int 0 #Bell tolls the number of hours (per the real-world server timezone) on the hour bell_tolls_at_server_hours (Bell tolls at server hours) bool true \ No newline at end of file