mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-12-06 03:30:22 -08:00
fixed a crash, where you could delte the tile and still inspect it
This commit is contained in:
parent
11fbbaaa7d
commit
054615fc60
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue