varaible rename
This commit is contained in:
parent
0cb87e8f81
commit
bd767fc056
@ -31,7 +31,7 @@ public class OSCCollar
|
||||
private float _leashStretch;
|
||||
private double _posX, _posY, _verticalMovement, _horizontalMovement;
|
||||
private bool _allowMoving = true;
|
||||
private uint _nilSent;
|
||||
private uint _nilSentCount;
|
||||
private DateTime _lastNilMessageSent = DateTime.UnixEpoch;
|
||||
private DateTime _lastConsoleOutput = DateTime.UnixEpoch;
|
||||
private static readonly TimeSpan ConsoleUpdateInterval = TimeSpan.FromMilliseconds(100);
|
||||
@ -187,7 +187,7 @@ public class OSCCollar
|
||||
this.Client.Send("/input/Horizontal", 0f);
|
||||
this.Client.Send("/input/Run", 0);
|
||||
this._lastNilMessageSent = DateTime.Now;
|
||||
_nilSent++;
|
||||
_nilSentCount++;
|
||||
}else if (_allowMoving)
|
||||
{
|
||||
if (_leashStretch > 0.1)
|
||||
|
Loading…
Reference in New Issue
Block a user