Fixed you starting with more than the allowed money. Now respecting the limtis.

This commit is contained in:
Marco Cawthorne 2019-01-05 18:29:35 +01:00
parent a0745b550f
commit f17914d241

View file

@ -147,7 +147,8 @@ void Rules_Restart( int iWipe ) {
if ( iWipe == FALSE ) {
Money_GiveTeamReward();
} else {
self.fMoney = autocvar_mp_startmoney;
self.fMoney = 0;
Money_AddMoney(self, autocvar_mp_startmoney);
}
}