Skip to content

Commit

Permalink
GameState:
Browse files Browse the repository at this point in the history
 = Quick hotfix
  • Loading branch information
May2Beez committed Mar 3, 2024
1 parent 01724d7 commit e1fd612
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public void enableMacro() {

setMacroToggled(true);
enableCurrentMacro();
getCurrentMacro().ifPresent(cm -> cm.getCheckOnSpawnClock().schedule(5_000));
getCurrentMacro().ifPresent(cm -> cm.getCheckOnSpawnClock().reset());
if (FarmHelperConfig.sendAnalyticData) {
try {
BanInfoWS.getInstance().sendAnalyticsData(BanInfoWS.AnalyticsState.START_SESSION);
Expand Down Expand Up @@ -455,7 +455,6 @@ private void checkForTeleport() {
resumeMacro();
}
cm.changeState(AbstractMacro.State.NONE);
cm.getCheckOnSpawnClock().reset();
cm.setRotated(false);
cm.getRewarpDelay().schedule(FarmHelperConfig.getRandomTimeBetweenChangingRows());
if (rewarpTeleport) {
Expand Down

0 comments on commit e1fd612

Please sign in to comment.