Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Generals/Code/GameEngine/Source/Common/RTS/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,8 @@ void Player::update()
if (tunnelSystem)
tunnelSystem->healObjects();
#endif

m_money.updateIncomeBucket();
}

//=============================================================================
Expand Down
1 change: 0 additions & 1 deletion Generals/Code/GameEngine/Source/GameClient/InGameUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1898,7 +1898,6 @@ void InGameUI::update( void )
else
{
// TheSuperHackers @feature L3-M 21/08/2025 player money per minute
money->updateIncomeBucket();
UnsignedInt currentMoney = money->countMoney();
UnsignedInt cashPerMin = money->getCashPerMinute();
if ( lastMoney != currentMoney || lastIncome != cashPerMin )
Expand Down
2 changes: 2 additions & 0 deletions GeneralsMD/Code/GameEngine/Source/Common/RTS/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,8 @@ void Player::update()
if (tunnelSystem)
tunnelSystem->healObjects();
#endif

m_money.updateIncomeBucket();
}

//=============================================================================
Expand Down
1 change: 0 additions & 1 deletion GeneralsMD/Code/GameEngine/Source/GameClient/InGameUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,6 @@ void InGameUI::update( void )
else
{
// TheSuperHackers @feature L3-M 21/08/2025 player money per minute
money->updateIncomeBucket();
UnsignedInt currentMoney = money->countMoney();
UnsignedInt cashPerMin = money->getCashPerMinute();
if ( lastMoney != currentMoney || lastIncome != cashPerMin )
Expand Down
Loading