This commit is contained in:
AnloGames 2023-08-18 20:25:22 +03:00
parent e70cae920c
commit 0756023c5a

View file

@ -415,14 +415,6 @@ namespace DangerousD.GameCore.GameObjects.LivingEntities
}
public override void Update(GameTime gameTime)
{
if (time >= 10)
{
AppManager.Instance.GameManager.Remove(this);
}
if (gameTime.TotalGameTime.Milliseconds > 800)
{
time += 1;
}
base.Update(gameTime);
}
}