Skip to content

Commit

Permalink
fix(client): whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
Veradictus committed Sep 24, 2023
1 parent ad6107e commit 4ca8a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/renderer/webgl/webgl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export default class WebGL extends Renderer {

private draw(x = this.camera.x, y = this.camera.y): void {
// Used for low power mode
if (this.hasRenderedFrame() && this.game.isLowPowerMode() && !this.mobile) return;
if (this.hasRenderedFrame() && this.game.isLowPowerMode() && this.mobile) return;

// Iterate through the drawing contexts and apply the necessary transformations/attributes.
this.forEachDrawingContext((context: WebGLRenderingContext) => {
Expand Down

0 comments on commit 4ca8a3c

Please sign in to comment.