mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-22 16:09:33 +01:00
Fix probability_damage
This commit is contained in:
parent
0582481e96
commit
6104a2d40f
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ local function place_corridors(main_cave_coords, psra)
|
|||
|
||||
-- Determine if this corridor system is “damaged” (some rails removed) and to which extent
|
||||
local damage = 0
|
||||
if pr:next() > probability_damage then
|
||||
if pr:next() < probability_damage then
|
||||
damage = pr:next(10, 50)
|
||||
end
|
||||
--[[ Starter cube: A big hollow dirt cube from which the corridors will extend.
|
||||
|
|
Loading…
Reference in a new issue