diff --git a/Generals/Code/GameEngine/Source/Common/RTS/Player.cpp b/Generals/Code/GameEngine/Source/Common/RTS/Player.cpp index 49e13c02e4d..c533b95b31d 100644 --- a/Generals/Code/GameEngine/Source/Common/RTS/Player.cpp +++ b/Generals/Code/GameEngine/Source/Common/RTS/Player.cpp @@ -684,6 +684,8 @@ void Player::update() if (tunnelSystem) tunnelSystem->healObjects(); #endif + + m_money.updateIncomeBucket(); } //============================================================================= diff --git a/Generals/Code/GameEngine/Source/GameClient/InGameUI.cpp b/Generals/Code/GameEngine/Source/GameClient/InGameUI.cpp index f51e726e373..72941c4c1b5 100644 --- a/Generals/Code/GameEngine/Source/GameClient/InGameUI.cpp +++ b/Generals/Code/GameEngine/Source/GameClient/InGameUI.cpp @@ -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 ) diff --git a/GeneralsMD/Code/GameEngine/Source/Common/RTS/Player.cpp b/GeneralsMD/Code/GameEngine/Source/Common/RTS/Player.cpp index 7add71ac2a4..4190cb77c38 100644 --- a/GeneralsMD/Code/GameEngine/Source/Common/RTS/Player.cpp +++ b/GeneralsMD/Code/GameEngine/Source/Common/RTS/Player.cpp @@ -724,6 +724,8 @@ void Player::update() if (tunnelSystem) tunnelSystem->healObjects(); #endif + + m_money.updateIncomeBucket(); } //============================================================================= diff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/InGameUI.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/InGameUI.cpp index 2605d4155f7..9e0f08f3854 100644 --- a/GeneralsMD/Code/GameEngine/Source/GameClient/InGameUI.cpp +++ b/GeneralsMD/Code/GameEngine/Source/GameClient/InGameUI.cpp @@ -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 )