Unstable 1.1.14.0
This commit is contained in:
@@ -27,6 +27,9 @@ namespace Barotrauma.RuinGeneration
|
||||
|
||||
public override string Name => "RuinGenerationParams";
|
||||
|
||||
[Serialize(true, IsPropertySaveable.Yes, description: "Are these params designed to be used for alien ruins targeted by missions. If false, the params are ignored when there's any missions targeting ruins."), Editable]
|
||||
public bool IsMissionReady { get; set; }
|
||||
|
||||
public RuinGenerationParams(ContentXElement element, RuinConfigFile file) : base(element, file) { }
|
||||
|
||||
public static void SaveAll()
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace Barotrauma.RuinGeneration
|
||||
|
||||
//prevent the ruin from extending above the level "ceiling"
|
||||
position.Y = Math.Min(level.Size.Y - (Submarine.Borders.Height / 2) - 100, position.Y);
|
||||
Submarine.SetPosition(position.ToVector2());
|
||||
Submarine.SetPosition(position.ToVector2(), forceUndockFromStaticSubmarines: false);
|
||||
|
||||
if (mirror)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user