Skip to content

Commit

Permalink
Merge pull request #112 from nezvers/player_spawn_and_rooms
Browse files Browse the repository at this point in the history
persistent graphics resource
  • Loading branch information
nezvers authored Oct 29, 2024
2 parents 2fbcb24 + a76539c commit 2d7e2c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/top_down/scripts/ui/title_screen/GraphicsManager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ func _ready()->void:
graphics_resource.enable_resize_tracking(get_viewport())
graphics_resource.window_mode_changed.connect(update_label)
graphics_resource.load_resource()
get_tree().set_meta("graphics", graphics_resource)

func toggle_fullscreen()->void:
graphics_resource.toggle_fullscreen()
Expand Down

0 comments on commit 2d7e2c2

Please sign in to comment.