fix 1
This commit is contained in:
@@ -480,6 +480,11 @@
|
||||
const isLocked = status === 0;
|
||||
const action = isLocked ? 'unlock' : 'upgrade';
|
||||
|
||||
const requestedAction = cmd.payload?.action_type;
|
||||
if (requestedAction && requestedAction !== action) {
|
||||
skipped++; continue;
|
||||
}
|
||||
|
||||
log(`Farm ${action}: farm_id=${farm.attributes.id} level=${level} town=${town_id}`);
|
||||
try {
|
||||
uw.gpAjax.ajaxPost('frontend_bridge', 'execute', {
|
||||
|
||||
Reference in New Issue
Block a user