mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38: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
|
can_exit = value
|
||||||
pass
|
pass
|
||||||
|
|
||||||
func _ready() -> void:
|
|
||||||
pass
|
|
||||||
|
|
||||||
func _process(_delta: float) -> void:
|
func _process(_delta: float) -> void:
|
||||||
if active and (Input.is_action_just_pressed("ui_back") or Input.is_action_just_pressed("editor_open_menu")):
|
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
|
size = Vector2.ZERO
|
||||||
add_properties()
|
add_properties()
|
||||||
show()
|
show()
|
||||||
|
editing_node.tree_exiting.connect(close)
|
||||||
|
|
||||||
|
|
||||||
func add_properties() -> void:
|
func add_properties() -> void:
|
||||||
for i in properties:
|
for i in properties:
|
||||||
|
Reference in New Issue
Block a user