Рефакторинг. Аннотации GDScript

This commit is contained in:
sasha80
2023-08-10 11:54:08 +03:00
parent cfeba11d3d
commit 1a410593da
2 changed files with 12 additions and 13 deletions

View File

@@ -55,7 +55,6 @@ func _ready() -> void:
## Периодически проверяет приборы на связи
func on_timer_check_lost(unit, time_lost: int):
""" Периодически проверяет приборы на связи """
for th in threats.values():
if (unit.tick - th.atick) >= time_lost:
threats.erase(th.id)