fix que / add auto
This commit is contained in:
@@ -97,7 +97,12 @@ async function pollAndExecute() {
|
||||
else if (cmd.type === 'market_offer') result = await executeMarketOffer(cmd);
|
||||
else if (cmd.type === 'research') result = await executeResearch(cmd);
|
||||
else if (cmd.type === 'farm_upgrade') result = await executeFarmUpgrade(cmd);
|
||||
else if (cmd.type === 'culture') result = await executeCultureCommand(cmd);
|
||||
else if (cmd.type === 'culture') {
|
||||
// executeCultureCommand reports to /api/culture/result directly
|
||||
// — do NOT call the shared reportResult() afterwards
|
||||
await executeCultureCommand(cmd);
|
||||
return;
|
||||
}
|
||||
else if (cmd.type === 'farm_loot') {
|
||||
// Guard: if auto-farm is mid-run, requeue rather than overlap
|
||||
if (farmLootRunning) {
|
||||
|
||||
Reference in New Issue
Block a user