mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Change print to minetest.log
This commit is contained in:
parent
bf60dada59
commit
b70aeda0b4
1 changed files with 1 additions and 2 deletions
|
@ -123,8 +123,7 @@ local function spawn_fire(pos, age)
|
||||||
age = math.random(1,5) + adjacent_age
|
age = math.random(1,5) + adjacent_age
|
||||||
end
|
end
|
||||||
if age <= 1 then
|
if age <= 1 then
|
||||||
print("new flash point at "..vector.to_string(pos).." age="..tostring(age))
|
minetest.log("warning","new flash point at "..vector.to_string(pos).." age="..tostring(age)..",backtrace = "..debug.traceback())
|
||||||
print(debug.traceback())
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Limit fire spread
|
-- Limit fire spread
|
||||||
|
|
Loading…
Reference in a new issue