Skip to content

Commit

Permalink
update less.
Browse files Browse the repository at this point in the history
  • Loading branch information
kianzarrin committed Dec 21, 2022
1 parent fe21aea commit 57fd209
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion NodeController/Manager/NodeData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ private void Refresh() {

public void Update() {
// update nearby nodes too to calculate velocity
NetManager.instance.UpdateNode(NodeID, 0, -1);
NetManager.instance.UpdateNode(NodeID);
}

public void RefreshAndUpdate() {
Expand Down
2 changes: 1 addition & 1 deletion NodeController/Manager/NodeManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public void ResetNodeToDefault(ushort nodeID) {
SetNullNodeAndSegmentEnds(nodeID);

// update nearby nodes too to calculate velocity
NetManager.instance.UpdateNode(nodeID, 0, -1);
NetManager.instance.UpdateNode(nodeID);
}

public void UpdateAll() {
Expand Down
2 changes: 1 addition & 1 deletion NodeController/Manager/SegmentEndData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ private void Refresh() {

public void Update() {
// update nearby nodes too to calculate velocity
NetManager.instance.UpdateNode(NodeID, 0, -1);
NetManager.instance.UpdateNode(NodeID);
}

public void RefreshAndUpdate() {
Expand Down
2 changes: 1 addition & 1 deletion NodeController/NodeController.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Product>NodeController</Product>
<Copyright>Copyright © 2020</Copyright>
<Deterministic>false</Deterministic>
<AssemblyVersion>2.11.2.*</AssemblyVersion>
<AssemblyVersion>2.11.2.666</AssemblyVersion>
<FileAlignment>512</FileAlignment>
<LangVersion>latest</LangVersion>
<DebugType>full</DebugType>
Expand Down

0 comments on commit 57fd209

Please sign in to comment.