Skip to content

Commit

Permalink
Fixed bug with menu
Browse files Browse the repository at this point in the history
  • Loading branch information
TriggeredP committed Jul 10, 2024
1 parent 8da2c00 commit 7e30e46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modloader.gd
Original file line number Diff line number Diff line change
Expand Up @@ -679,13 +679,16 @@ func add_menu_version():
margin.add_constant_override("margin_bottom", 75)
margin.set_size(Vector2(1280,720))
margin.name = "ModLoaderVersion"
margin.mouse_filter = Control.MOUSE_FILTER_IGNORE

var vBox = VBoxContainer.new()
vBox.alignment = VBoxContainer.ALIGN_END
vBox.mouse_filter = Control.MOUSE_FILTER_IGNORE

var versionLabel = Label.new()
versionLabel.text = "Modloader v" + MODLOADER_VERSION + "\nLoaded mods: " + str(loads)
versionLabel.theme = load("res://Menu/menu_theme.tres")
versionLabel.mouse_filter = Control.MOUSE_FILTER_IGNORE

vBox.add_child(versionLabel)
margin.add_child(vBox)
Expand Down

0 comments on commit 7e30e46

Please sign in to comment.