1
0
mirror of https://github.com/Sokomine/cottages.git synced 2026-01-13 12:35:41 +01:00

make some globals local

This commit is contained in:
tour
2025-09-07 16:10:53 +02:00
parent 93e714f92a
commit cb9bbb0989
4 changed files with 5 additions and 5 deletions

View File

@@ -87,7 +87,7 @@ cottages.water_gen_fill_bucket = function(pos)
end
-- abort if the water has not been running long enough
-- (the player may have removed a bucket before it was full)
start = meta:get_string("fillstarttime")
local start = meta:get_string("fillstarttime")
if( (minetest.get_us_time()/1000000) - tonumber(start) < cottages.water_fill_time -2) then
return
end