1
0
Fork 0

Disable cart spawning cuz error message spam

This commit is contained in:
Wuzzy 2017-09-08 16:32:33 +02:00
parent d55f83346e
commit 96a3474c40
1 changed files with 4 additions and 1 deletions

View File

@ -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)