PunchablePlushie / godot-game-settings

Create and manage game settings in Godot Engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

godot 4.2 beta4 have a error

vmjcv opened this issue · comments

When running the project using Godot 4.2 beta 4, there will be an error when adding the UI settings:

image

Original code

func _on_List_item_activated(item_index: int) -> void:
	var EI: EditorInterface = ggsUtils.get_editor_interface()
	var ES: EditorSelection = EI.get_selection()

If you modify the code like this, it will run normally:

func _on_List_item_activated(item_index: int) -> void:
	var EI = ggsUtils.get_editor_interface()
	var ES = EI.get_selection()