Skip to content

Commit

Permalink
Don't try to resize the window on game start
Browse files Browse the repository at this point in the history
  • Loading branch information
Izook committed Dec 4, 2020
1 parent 565678c commit 57eca70
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/Game.gd
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ func _ready():

# Set background to gray
VisualServer.set_default_clear_color(Color(0.25, 0.25, 0.25, 1))

# Appropriately resize window
OS.set_window_size(Vector2(Global.GAME_WIDTH, Global.GAME_HEIGHT))


# Instantiate and place HUD
var hud_instance = HUD.instance()
hud_instance.rect_position = Vector2(0,0)
Expand Down

0 comments on commit 57eca70

Please sign in to comment.