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
This commit is contained in:
parent
cd5f03c002
commit
f9b4d9a44b
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue