From f9b4d9a44b3405188a4be698afa56dcde6455d5b Mon Sep 17 00:00:00 2001 From: LemonNexus Date: Mon, 9 Feb 2026 22:41:49 +0000 Subject: [PATCH] fix: add missing weapon_dpp and weapon_cost_per_hour parameters to start_session - Added for backward compatibility with main_window.py - These parameters are accepted but not used in the clean HUD - Fixes TypeError when starting session --- ui/hud_overlay_clean.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/hud_overlay_clean.py b/ui/hud_overlay_clean.py index dbb7617..73ec8bf 100644 --- a/ui/hud_overlay_clean.py +++ b/ui/hud_overlay_clean.py @@ -530,6 +530,8 @@ class HUDOverlay(QWidget): def start_session(self, weapon: str = "Unknown", armor: str = "None", fap: str = "None", loadout: str = "Default", + weapon_dpp: Decimal = Decimal('0.0'), + weapon_cost_per_hour: Decimal = Decimal('0.0'), cost_per_shot: Decimal = Decimal('0.0'), cost_per_hit: Decimal = Decimal('0.0'), cost_per_heal: Decimal = Decimal('0.0')) -> None: