File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed
GeneralsMD/Code/GameEngine/Source
Generals/Code/GameEngine/Source Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -684,6 +684,8 @@ void Player::update()
684684 if (tunnelSystem)
685685 tunnelSystem->healObjects ();
686686#endif
687+
688+ m_money.updateIncomeBucket ();
687689}
688690
689691// =============================================================================
Original file line number Diff line number Diff line change @@ -1898,7 +1898,6 @@ void InGameUI::update( void )
18981898 else
18991899 {
19001900 // TheSuperHackers @feature L3-M 21/08/2025 player money per minute
1901- money->updateIncomeBucket ();
19021901 UnsignedInt currentMoney = money->countMoney ();
19031902 UnsignedInt cashPerMin = money->getCashPerMinute ();
19041903 if ( lastMoney != currentMoney || lastIncome != cashPerMin )
Original file line number Diff line number Diff line change @@ -724,6 +724,8 @@ void Player::update()
724724 if (tunnelSystem)
725725 tunnelSystem->healObjects ();
726726#endif
727+
728+ m_money.updateIncomeBucket ();
727729}
728730
729731// =============================================================================
Original file line number Diff line number Diff line change @@ -1954,7 +1954,6 @@ void InGameUI::update( void )
19541954 else
19551955 {
19561956 // TheSuperHackers @feature L3-M 21/08/2025 player money per minute
1957- money->updateIncomeBucket ();
19581957 UnsignedInt currentMoney = money->countMoney ();
19591958 UnsignedInt cashPerMin = money->getCashPerMinute ();
19601959 if ( lastMoney != currentMoney || lastIncome != cashPerMin )
You can’t perform that action at this time.
0 commit comments