Set orders stay in CrewCommander interface after reopening, minor changes to the interface layout

This commit is contained in:
Regalis
2015-12-17 19:35:14 +02:00
parent fa5cceb903
commit eb0e08c8ee
9 changed files with 107 additions and 451 deletions

View File

@@ -134,9 +134,9 @@ namespace Barotrauma
public override void Draw(double deltaTime, GraphicsDevice graphics, SpriteBatch spriteBatch)
{
if (Character.Controlled!=null)
if (Character.Controlled != null)
{
cam.TargetPos = Character.Controlled.Position;
cam.TargetPos = Character.Controlled.WorldPosition;
}
cam.UpdateTransform();