Skip to content

Commit

Permalink
removed dummy guard in tick method
Browse files Browse the repository at this point in the history
"Adding the check to the tick method definitly isn't the solution" -malte
  • Loading branch information
MalkContent committed Oct 11, 2021
1 parent 82e0f9a commit 1706c92
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -63,8 +63,6 @@ public void tickClient()
@Override
public void tickServer()
{
// if(isDummy())
// return;
if(isBlocked())//TODO throttle?
{
setPerTickAndAdvance(0);
Expand Down Expand Up @@ -114,8 +112,6 @@ public void tickServer()

private void setPerTickAndAdvance(double newValue)
{
if(isDummy())
return;
if(newValue!=perTick)
{
globalSyncDelayCounter = globalSyncDelay;
Expand Down

0 comments on commit 1706c92

Please sign in to comment.