atttack planner postponed/removed

This commit is contained in:
2026-05-04 23:19:09 +03:00
parent e9cc81b582
commit 138841b027
12 changed files with 4 additions and 95 deletions

View File

@@ -156,8 +156,6 @@ def options():
'is_online': is_online,
'feat_farm': 'farm' in (row['features'] or 'farm,admin'),
'feat_admin': 'admin' in (row['features'] or 'farm,admin'),
'feat_atk_planner': 'attack_planner' in (row['features'] or ''),
'feat_atk_planner_admin': 'attack_planner_admin' in (row['features'] or ''),
})
conn.close()
@@ -238,10 +236,8 @@ def remove_member(player_id, world_id):
def update_member_features(player_id, world_id):
farm = 'farm' if request.form.get('farm') else None
admin = 'admin' if request.form.get('admin') else None
atk_planner = 'attack_planner' if request.form.get('attack_planner') else None
atk_planner_admin = 'attack_planner_admin' if request.form.get('attack_planner_admin') else None
features = ','.join(f for f in [farm, admin, atk_planner, atk_planner_admin] if f) or ''
features = ','.join(f for f in [farm, admin] if f) or ''
conn = get_db()
clan = conn.execute(