diff options
| author | LLLL Colonq <llll@colonq> | 2026-07-31 05:00:49 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-07-31 05:00:49 -0400 |
| commit | ea5332e4a1a035e888709bee278fcafb182f7922 (patch) | |
| tree | 7e1520391e7f04fa3df425fd9ed02008f748cdfd /2026/games_submissions/the0x539/interaction.js | |
| parent | 3ec03ba57474aa4320cb7901980b55706adbc111 (diff) | |
Update
Diffstat (limited to '2026/games_submissions/the0x539/interaction.js')
| -rw-r--r-- | 2026/games_submissions/the0x539/interaction.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/2026/games_submissions/the0x539/interaction.js b/2026/games_submissions/the0x539/interaction.js index 9c3cd37..d45d5c9 100644 --- a/2026/games_submissions/the0x539/interaction.js +++ b/2026/games_submissions/the0x539/interaction.js @@ -347,7 +347,7 @@ export function consumeClock() { if (state === 'split-evenly' && splitTargets.size > 1) { // oh dear. this is a complicated situation // first, let's try to search for uninvolved clocks - const uninvolved = document.querySelector('inventory-cell > item-stack[data-item="clock"]:not([data-original-count])'); + const uninvolved = document.querySelector('inventory-cell > item-stack[data-item="clock"]:not([data-original-count]):not(crafting-output item-stack)'); if (!!uninvolved) { const count = getCount(uninvolved); if (count === 1) { @@ -368,7 +368,7 @@ export function consumeClock() { return; } - const stack = document.querySelector('item-stack[data-item="clock"][data-count]'); + const stack = document.querySelector('item-stack[data-item="clock"][data-count]:not(crafting-output item-stack)') const count = getCount(stack); if (count === 1) { if (stack.parentElement === grabbedStack) { |
