diff --git a/Auto-Farm.js b/Auto-Farm.js index 56d9842..97466b9 100644 --- a/Auto-Farm.js +++ b/Auto-Farm.js @@ -152,7 +152,7 @@ const paintResult = await paintPixel(randomPos.x, randomPos.y); if (paintResult === 'token_error') { if (state.autoRefresh) { - // ensure enough charges for auto-refresh + await getCharge(); if (state.charges.count < 2) { if (!state.pausedForManual) { updateUI(