mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
fixed a crash, where you could delte the tile and still inspect it
This commit is contained in:
@@ -23,8 +23,6 @@ var can_exit := true:
|
||||
can_exit = value
|
||||
pass
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
if active and (Input.is_action_just_pressed("ui_back") or Input.is_action_just_pressed("editor_open_menu")):
|
||||
@@ -39,6 +37,8 @@ func open() -> void:
|
||||
size = Vector2.ZERO
|
||||
add_properties()
|
||||
show()
|
||||
editing_node.tree_exiting.connect(close)
|
||||
|
||||
|
||||
func add_properties() -> void:
|
||||
for i in properties:
|
||||
|
Reference in New Issue
Block a user