Fix damage probability being flipped

master
Wuzzy 2017-05-13 21:45:34 +02:00
parent 88d52b0cbb
commit 66a91fbb65
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,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.