mirror of
https://github.com/Luzifer/automate-cookie-clicker.git
synced 2024-11-09 14:30:08 +00:00
Fix: Current dragon level needs to be bought
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
636a6a381d
commit
9babcf1fa2
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
// ==UserScript==
|
||||
// @name Automate CookieClicker
|
||||
// @namespace https://luzifer.io/
|
||||
// @version 0.14.0
|
||||
// @version 0.14.1
|
||||
// @description Automate everything!
|
||||
// @author Knut Ahlers <knut@ahlers.me>
|
||||
// @source https://github.com/Luzifer/automate-cookie-clicker
|
||||
|
@ -54,7 +54,7 @@ function executeAutoActions() {
|
|||
}
|
||||
|
||||
// Upgrade dragon if possible
|
||||
if (Game.dragonLevels[Game.dragonLevel + 1].cost()) {
|
||||
if (Game.dragonLevels[Game.dragonLevel].cost()) {
|
||||
Game.UpgradeDragon()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue