(ec2443ae2) Updated: EnglishVanilla with the proofreading #2
This commit is contained in:
@@ -394,10 +394,6 @@ namespace Barotrauma
|
|||||||
|
|
||||||
commands.Add(new Command("charactereditor|editcharacter|editcharacters|editanimation|editanimations|animedit|animationeditor|animeditor|animationedit", "charactereditor: Edit characters, animations, ragdolls....", (string[] args) =>
|
commands.Add(new Command("charactereditor|editcharacter|editcharacters|editanimation|editanimations|animedit|animationeditor|animeditor|animationedit", "charactereditor: Edit characters, animations, ragdolls....", (string[] args) =>
|
||||||
{
|
{
|
||||||
if (Screen.Selected == GameMain.GameScreen)
|
|
||||||
{
|
|
||||||
NewMessage("WARNING: Switching between the character editor and the game view may cause odd behaviour or bugs. Use with caution.", Color.Orange);
|
|
||||||
}
|
|
||||||
GameMain.CharacterEditorScreen.Select();
|
GameMain.CharacterEditorScreen.Select();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,8 @@ namespace Barotrauma
|
|||||||
//update client hulls if the amount of water has changed by >10%
|
//update client hulls if the amount of water has changed by >10%
|
||||||
//or if oxygen percentage has changed by 5%
|
//or if oxygen percentage has changed by 5%
|
||||||
if (Math.Abs(lastSentVolume - waterVolume) > Volume * 0.1f ||
|
if (Math.Abs(lastSentVolume - waterVolume) > Volume * 0.1f ||
|
||||||
Math.Abs(lastSentOxygen - OxygenPercentage) > 5f)
|
Math.Abs(lastSentOxygen - OxygenPercentage) > 5f ||
|
||||||
|
FireSources.Count > 0)
|
||||||
{
|
{
|
||||||
sendUpdateTimer -= deltaTime;
|
sendUpdateTimer -= deltaTime;
|
||||||
if (sendUpdateTimer < 0.0f)
|
if (sendUpdateTimer < 0.0f)
|
||||||
|
|||||||
@@ -417,11 +417,6 @@ namespace Barotrauma
|
|||||||
public void AddFireSource(FireSource fireSource)
|
public void AddFireSource(FireSource fireSource)
|
||||||
{
|
{
|
||||||
FireSources.Add(fireSource);
|
FireSources.Add(fireSource);
|
||||||
|
|
||||||
if (GameMain.NetworkMember != null && GameMain.NetworkMember.IsServer && !IdFreed)
|
|
||||||
{
|
|
||||||
GameMain.NetworkMember.CreateEntityEvent(this);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Update(float deltaTime, Camera cam)
|
public override void Update(float deltaTime, Camera cam)
|
||||||
@@ -589,11 +584,6 @@ namespace Barotrauma
|
|||||||
public void RemoveFire(FireSource fire)
|
public void RemoveFire(FireSource fire)
|
||||||
{
|
{
|
||||||
FireSources.Remove(fire);
|
FireSources.Remove(fire);
|
||||||
|
|
||||||
if (GameMain.NetworkMember != null && GameMain.NetworkMember.IsServer && !Removed && !IdFreed)
|
|
||||||
{
|
|
||||||
GameMain.NetworkMember.CreateEntityEvent(this);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Hull> GetConnectedHulls(int? searchDepth)
|
public IEnumerable<Hull> GetConnectedHulls(int? searchDepth)
|
||||||
|
|||||||
Reference in New Issue
Block a user