This commit is contained in:
2026-04-24 22:14:19 +03:00
parent 1dc96a53ee
commit 9aba81960a
4 changed files with 15 additions and 155 deletions

View File

@@ -104,11 +104,10 @@ def get_pending_command():
# Also return current farm settings so TM knows loot_option
farm_row = c.execute(
'SELECT enabled, bandit_camp_enabled, loot_option FROM farm_settings WHERE player_id = ?', (player_id,)
'SELECT enabled, loot_option FROM farm_settings WHERE player_id = ?', (player_id,)
).fetchone()
farm_settings = {
'enabled': bool(farm_row['enabled']) if farm_row else False,
'bandit_camp_enabled': bool(farm_row['bandit_camp_enabled']) if farm_row else False,
'loot_option': farm_row['loot_option'] if farm_row else 1
}