gate not responding popup

This commit is contained in:
Nordup 2024-10-26 07:09:25 +04:00
parent 4fc2d7aeb9
commit 08708f2b59
14 changed files with 205 additions and 13 deletions

View file

@ -29,10 +29,12 @@ func on_ui_mode_changed(mode: UiEvents.UiMode) -> void:
should_send = mode == UiEvents.UiMode.FULL_SCREEN
func _input(event: InputEvent) -> void:
func _input(_event: InputEvent) -> void:
if input_sync == null or not should_send: return
var event = _event
if event is InputEventMouse:
event = _event.duplicate()
event.position = get_scaled_mouse_pos(event.position)
event.global_position = get_scaled_mouse_pos(event.global_position)

View file

@ -6,7 +6,7 @@ extends Node
# Timeout interval for child process responsiveness
const BOOTUP_INTERVAL = 30
const HEARTBEAT_INTERVAL = 5
const WAIT_INTERVAL = 30
const WAIT_INTERVAL = 20
var timer: Timer