From f17914d2413c542a2310677515b4b8020caac560 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Sat, 5 Jan 2019 18:29:35 +0100 Subject: [PATCH] Fixed you starting with more than the allowed money. Now respecting the limtis. --- Source/Server/Rules.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Server/Rules.c b/Source/Server/Rules.c index 04c82812..66235fc9 100755 --- a/Source/Server/Rules.c +++ b/Source/Server/Rules.c @@ -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); } }