diff --git a/src/gui/SPCustomsGui.hx b/src/gui/SPCustomsGui.hx index 7ee6b9a3..ec2c3aa7 100644 --- a/src/gui/SPCustomsGui.hx +++ b/src/gui/SPCustomsGui.hx @@ -33,12 +33,7 @@ class SPCustomsGui extends GuiImage { this.position = new Vector(); this.extent = new Vector(640, 480); - #if hl - var scene2d = hxd.Window.getInstance(); - #end - #if (js || uwp) var scene2d = MarbleGame.instance.scene2d; - #end var offsetX = (scene2d.width - 1280) / 2; var offsetY = (scene2d.height - 720) / 2;