fix: Fixed more input events (#442)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
This commit is contained in:
@@ -269,7 +269,7 @@ func _ready():
|
||||
# #### Parameters
|
||||
#
|
||||
# - event: Triggered event
|
||||
func _input(event: InputEvent) -> void:
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
if not escoria.current_state == escoria.GAME_STATE.DEFAULT:
|
||||
return
|
||||
if event is InputEventMouseButton and event.is_pressed():
|
||||
|
||||
Reference in New Issue
Block a user