DEADSOFTWARE

Game: subtraction points by suicide in team
authorDmitry Lyashuk <terminalhash@th-mx>
Fri, 25 Mar 2022 18:45:19 +0000 (21:45 +0300)
committerDmitry Lyashuk <terminalhash@th-mx>
Fri, 25 Mar 2022 18:45:19 +0000 (21:45 +0300)
src/game/g_player.pas

index ee0655c223c9c39231669ce7d1f39d75858e0d3f..9aa72a832c3c6d2cf52adfdb1ac70adcee3565cf 100644 (file)
@@ -3381,7 +3381,8 @@ begin
 
   if SpawnerUID = FUID then
     begin // Ñàìîóáèëñÿ
-      if Srv and (DoFrags or (gGameSettings.GameMode = GM_TDM)) then
+      if Srv and (gGameSettings.GameMode = GM_TDM) then
+      Dec(gTeamStat[FTeam].Goals);
       begin
         Dec(FFrags);
         FLastFrag := 0;