Launcher error messageboxes, more easily controllable & better looking swimming, oxygen tank bugfixes, loading screen coroutine bugfix
This commit is contained in:
@@ -314,11 +314,11 @@ namespace Subsurface
|
||||
Screen.Selected.Draw(deltaTime, GraphicsDevice, spriteBatch);
|
||||
}
|
||||
|
||||
double elapsed = sw.Elapsed.TotalSeconds;
|
||||
if (elapsed < Physics.step)
|
||||
{
|
||||
System.Threading.Thread.Sleep((int)((Physics.step - elapsed) * 1000.0));
|
||||
}
|
||||
//double elapsed = sw.Elapsed.TotalSeconds;
|
||||
//if (elapsed < Physics.step)
|
||||
//{
|
||||
// System.Threading.Thread.Sleep((int)((Physics.step - elapsed) * 1000.0));
|
||||
//}
|
||||
sw.Restart();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user