v1.2.7.0 (Winter Update hotfix)
This commit is contained in:
@@ -218,6 +218,7 @@ namespace Barotrauma
|
||||
{
|
||||
if (primaryMouseButtonHeld)
|
||||
{
|
||||
ShowHulls = true;
|
||||
hull.WaterVolume += 100000.0f * deltaTime;
|
||||
hull.networkUpdatePending = true;
|
||||
hull.serverUpdateDelay = 0.5f;
|
||||
|
||||
@@ -499,6 +499,13 @@ namespace Barotrauma
|
||||
}
|
||||
}
|
||||
|
||||
if (Hull.HullList.Any(h => h.WaterVolume > 0.0f))
|
||||
{
|
||||
errorMsgs.Add(TextManager.Get("WaterInHullsWarning").Value);
|
||||
warnings.Add(SubEditorScreen.WarningType.WaterInHulls);
|
||||
Hull.ShowHulls = true;
|
||||
}
|
||||
|
||||
if (Info.Type == SubmarineType.Player)
|
||||
{
|
||||
foreach (Item item in Item.ItemList)
|
||||
|
||||
Reference in New Issue
Block a user