mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-23 02:51:06 +01:00
Disable cart spawning cuz error message spam
This commit is contained in:
parent
d55f83346e
commit
96a3474c40
1 changed files with 4 additions and 1 deletions
|
@ -66,7 +66,10 @@ if setting then
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Probability for every part of a corridor to contain a cart
|
-- Probability for every part of a corridor to contain a cart
|
||||||
local probability_cart = P(0.05)
|
-- Disabled because cart spawning creates error message spam:
|
||||||
|
-- “m_static_exists=true but static data doesn't actually exist in (x,y,z)
|
||||||
|
-- TODO: Set back to 0.05 if this is fixedd.
|
||||||
|
local probability_cart = P(0)
|
||||||
setting = tonumber(minetest.settings:get("tsm_railcorridors_probability_cart"))
|
setting = tonumber(minetest.settings:get("tsm_railcorridors_probability_cart"))
|
||||||
if setting then
|
if setting then
|
||||||
probability_cart = P(setting)
|
probability_cart = P(setting)
|
||||||
|
|
Loading…
Reference in a new issue