Рефактор

This commit is contained in:
sasha80
2024-11-15 10:03:17 +03:00
parent 8743530da3
commit 548dfeb609
2 changed files with 6 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ func _ready() -> void:
signaller.connect('threat_selected', Callable(self, 'on_threat_selected').bind(threats))
signaller.connect('interfer_init', Callable(self, 'on_interfer_init').bind(threats))
## Периодически удаляет устаревшие цели.
func on_timer_check_lost(time_lost: int, threats: Dictionary):
var tick = Time.get_ticks_msec()