fix: leaving board when fully completed

This commit is contained in:
tiger tiger tiger 2026-01-18 19:21:03 +01:00
parent 5b034a9ce7
commit ba20ce5180
3 changed files with 4 additions and 2 deletions

View File

@ -1912,6 +1912,7 @@ transform = Transform3D(0.99999976, 0, 0, 0, 1, 0, 0, 0, 0.99999976, 0.10009599,
[node name="DoorInteractable" parent="logic" instance=ExtResource("22_ks23q")] [node name="DoorInteractable" parent="logic" instance=ExtResource("22_ks23q")]
transform = Transform3D(-0.9999984, 0, 8.7422585e-08, 0, 1, 0, -8.7422585e-08, 0, -0.9999984, 0.42437345, 0.9173807, -0.95442796) transform = Transform3D(-0.9999984, 0, 8.7422585e-08, 0, 1, 0, -8.7422585e-08, 0, -0.9999984, 0.42437345, 0.9173807, -0.95442796)
interaction = ExtResource("11_5bsh1")
billboard = false billboard = false
[node name="View" parent="logic/DoorInteractable" index="1"] [node name="View" parent="logic/DoorInteractable" index="1"]

View File

@ -384,7 +384,7 @@ func handle_drop(draggable: Draggable) -> int:
# Takes the inputs for control inputs # Takes the inputs for control inputs
func _input(event) -> void: func _input(event) -> void:
if event is InputEventAction and event.is_action_pressed("ui_cancel"): if event.is_action_pressed("ui_cancel"):
closed.emit() closed.emit()
get_viewport().set_input_as_handled() get_viewport().set_input_as_handled()

View File

@ -1,4 +1,5 @@
class_name CardBurner extends CenterContainer class_name CardBurner
extends Playable
var focused: bool = false: var focused: bool = false:
set(focus): set(focus):