Update Drone.cs
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user