Allow TKlogs to know damageType

This commit is contained in:
ChocoTaco 2021-09-30 16:22:55 -04:00
parent f371025ff8
commit 4e039dd195
4 changed files with 10 additions and 7 deletions

2
Classic/scripts/SCtFGame.cs Normal file → Executable file
View file

@ -1316,7 +1316,7 @@ function SCtFGame::updateKillScores(%game, %clVictim, %clKiller, %damageType, %i
}
else
{
if (%game.testTeamKill(%clVictim, %clKiller)) //otherwise test for a teamkill
if (%game.testTeamKill(%clVictim, %clKiller, %damageType)) //otherwise test for a teamkill
%game.awardScoreTeamKill(%clVictim, %clKiller);
}
}