1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 03:33:29 +08:00

minor fix

This commit is contained in:
2023-06-24 00:59:00 +08:00
parent 5cb04c6b97
commit eda75ac8a0

View File

@@ -317,16 +317,8 @@ public class CheatEnabler : BaseUnityPlugin
veins.Add(14);
settings.AddRange(new [] {1f, 1f, 0.5f, 1f});
}
if (veins.Count > 0)
{
theme.RareVeins = veins.ToArray();
theme.RareSettings = settings.ToArray();
}
else
{
theme.RareVeins = null;
theme.RareSettings = null;
}
theme.RareVeins = veins.ToArray();
theme.RareSettings = settings.ToArray();
if (_highLuminosityBirthStar)
{
StarGen.specifyBirthStarMass = 100f;