This commit is contained in:
karan committed 2025-05-25 21:24:47 +05:30
1 parent 727f301ea7
commit db733b6bbd
1 file changed
+1 -2
+1 -2
View File
@@ -987,7 +987,7 @@ class Banking(commands.Cog):
await ctx.send(f"> Error getting game data: {str(e)}")
async def revenue_calc(message, nation: dict, radiation: dict, treasures: dict, prices: dict, colors: dict, seasonal_mod: dict, build: str = None, single_city: bool = False, include_spies: bool = False) -> dict:
async def revenue_calc(message: discord.Message, nation: dict, radiation: dict, treasures: dict, prices: dict, colors: dict, seasonal_mod: dict, build: str = None, single_city: bool = False, include_spies: bool = False) -> dict:
max_commerce = 100
base_com = 0
hos_dis_red = 2.5
@@ -1338,7 +1338,6 @@ class Banking(commands.Cog):
async def calculate_revenue(self, message: discord.Message, nation: dict, game_data: dict) -> dict:
"""Calculate revenue for a nation."""
revenue = await self.revenue_calc(
message=message,
nation=nation,
radiation=game_data['radiation'],
treasures=game_data['treasures'],