fix undeclared local
parent
02a88fa045
commit
017c8b9e8b
2
init.lua
2
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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue