Skip to content

Commit 68b0926

Browse files
committed
fix: use soda after first successful catch
when enabled of course
1 parent 211025e commit 68b0926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webfisher.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ var globalState: GlobalState = GlobalState(
3030
lastCatchTime: (epochTime() + 300.0),
3131
bucketTime: epochTime(),
3232
resetTime: epochTime(),
33-
sodaTime: epochTime()
33+
sodaTime: 0.0
3434
)
3535

3636

3737
block webfisher:
38-
debug("Starting Webfisher...")
3938
initConfig()
4039
initDisplay()
4140
initDevice()
41+
debug("Starting Webfisher...")
4242

4343
notice(fmt"Started in {globalConfig.gameMode} mode.")
4444
if globalConfig.autoSoda:

0 commit comments

Comments
 (0)