From 35ab5b2f4e23053e938231954e0b2e91b0b77e42 Mon Sep 17 00:00:00 2001 From: Sergey Sklyarov Date: Thu, 3 Jul 2025 01:34:37 +0300 Subject: [PATCH] Update Drone.cs --- DroneSimulator/Drone.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DroneSimulator/Drone.cs b/DroneSimulator/Drone.cs index 4e19dc9..e8b7ed3 100644 --- a/DroneSimulator/Drone.cs +++ b/DroneSimulator/Drone.cs @@ -58,11 +58,11 @@ namespace DroneSimulator private uint TickCount = 0; - private uint Tick() + private uint Ticks() { uint tick = (uint)(Stopwatch.GetTimestamp() / Stopwatch.Frequency / 1000); TickCount += tick; - return tick; + return TickCount; } public static byte[] getBytes(object data)