mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-27 06:25:23 +00:00
Allow TKlogs to know damageType
This commit is contained in:
parent
f371025ff8
commit
4e039dd195
4 changed files with 10 additions and 7 deletions
2
Classic/scripts/SCtFGame.cs
Normal file → Executable file
2
Classic/scripts/SCtFGame.cs
Normal file → Executable 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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue