Skip to content

Commit

Permalink
[WorkNet] Reset forced productivity update after udating
Browse files Browse the repository at this point in the history
Fixes redundant update checks.
  • Loading branch information
taniwha committed Jul 7, 2022
1 parent 7076f21 commit ed27231
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Workshop/VesselWorkNet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ void FixedUpdate ()
} else {
updateTimer = 10;
UpdateProductivity (forceProductivityUpdate);
forceProductivityUpdate = false;
}
if (protoSinks != null) {
if (CatchUpBacklog ()) {
Expand Down

0 comments on commit ed27231

Please sign in to comment.