]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix hybridization seedless probability (#25084)
authorKevin Zheng <kevinz5000@gmail.com>
Sat, 10 Feb 2024 01:21:48 +0000 (17:21 -0800)
committerGitHub <noreply@github.com>
Sat, 10 Feb 2024 01:21:48 +0000 (12:21 +1100)
commit28755f5405cb4415da1256ac75e1d5496c497231
tree361aab7da2078d53febb1105b0af755790ed01d2
parentde0d5e4af64b16e64cf71c8c0406970f2a543280
Fix hybridization seedless probability (#25084)

Fix comparison

Hybrids (different plants being crossed) are supposed to have a high
chance of becoming seedless to balance overpowered plants.

However, a logic error in the comparison gave seedless to plants when
they were from the same seed (not hybrids) rather than the other way
around.

Reported by:    @genderGeometries
Content.Server/Botany/Systems/MutationSystem.cs