fix(gameplay): escape pause menu + block placement collision + perf optim render_distance/throttling

This commit is contained in:
Floppyrj45
2026-04-19 17:32:59 +02:00
parent 3fa02492a2
commit 9546fcd96b
8 changed files with 164 additions and 21 deletions

View File

@@ -266,6 +266,9 @@ func _input(event: InputEvent) -> void:
if event.is_action_pressed("toggle_inventory"):
_toggle_inventory()
get_viewport().set_input_as_handled()
elif event.is_action_pressed("escape") and _is_open:
_toggle_inventory()
get_viewport().set_input_as_handled()
func _toggle_inventory() -> void: