Merge branch 'черешня' of https://github.com/progtime-net/DangerousD into черешня
This commit is contained in:
commit
eaefd89eb4
1 changed files with 4 additions and 0 deletions
|
@ -414,6 +414,10 @@ namespace DangerousD.GameCore.GameObjects.LivingEntities
|
|||
}
|
||||
public override void Update(GameTime gameTime)
|
||||
{
|
||||
if (maindirection != velocity)
|
||||
{
|
||||
AppManager.Instance.GameManager.Remove(this);
|
||||
}
|
||||
base.Update(gameTime);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue