diff --git a/Mine2d/game/core/Camera.cs b/Mine2d/game/core/Camera.cs index a9b5fcb..65e8d6d 100644 --- a/Mine2d/game/core/Camera.cs +++ b/Mine2d/game/core/Camera.cs @@ -15,6 +15,6 @@ public class Camera var scale = ctx.FrontendGameState.Settings.GameScale; var windowWidth = ctx.FrontendGameState.WindowWidth; var windowHeight = ctx.FrontendGameState.WindowHeight; - this.Position = target - (new Vector2(windowWidth, windowHeight) / 2) / scale; + this.Position = target - (new Vector2(windowWidth, windowHeight) / 2 / scale); } } diff --git a/Mine2d/game/core/Debugger.cs b/Mine2d/game/core/Debugger.cs index d4f6f35..470673b 100644 --- a/Mine2d/game/core/Debugger.cs +++ b/Mine2d/game/core/Debugger.cs @@ -1,8 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - namespace Mine2d.game.core; public static class Debugger @@ -11,4 +6,4 @@ public static class Debugger { Context.Get().FrontendGameState.DebugState.Messages.Enqueue(message); } -} \ No newline at end of file +}