Launcher bugfixes, fixed submarine position syncing, previewing the sub after round ends, wiring bugfix, slower reactor overheat, itemlabel, wifi components
This commit is contained in:
@@ -176,7 +176,7 @@ namespace Subsurface
|
||||
// CreateDummyCharacter();
|
||||
//}
|
||||
|
||||
cam.MoveCamera((float)deltaTime);
|
||||
if (GUIComponent.MouseOn==null) cam.MoveCamera((float)deltaTime);
|
||||
cam.Zoom = MathHelper.Clamp(cam.Zoom + PlayerInput.ScrollWheelSpeed/1000.0f,0.1f, 2.0f);
|
||||
|
||||
if (characterMode)
|
||||
|
||||
@@ -75,11 +75,12 @@ namespace Subsurface
|
||||
|
||||
StatusEffect.UpdateAll((float)deltaTime);
|
||||
|
||||
cam.MoveCamera((float)deltaTime);
|
||||
|
||||
Physics.accumulator = Math.Min(Physics.accumulator, Physics.step * 4);
|
||||
while (Physics.accumulator >= Physics.step)
|
||||
{
|
||||
cam.MoveCamera((float)Physics.step);
|
||||
|
||||
foreach (PhysicsBody pb in PhysicsBody.list)
|
||||
{
|
||||
pb.SetPrevTransform(pb.Position, pb.Rotation);
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace Subsurface
|
||||
class Screen
|
||||
{
|
||||
private static Screen selected;
|
||||
|
||||
|
||||
public static Screen Selected
|
||||
{
|
||||
get { return selected; }
|
||||
|
||||
Reference in New Issue
Block a user