Wrong vars
This commit is contained in:
ChocoTaco1 2020-03-27 01:14:02 -04:00
parent 10c9c310e9
commit 7477a11c2f

View file

@ -39,7 +39,7 @@ function DefaultGame::onClientKilled(%game, %clVictim, %clKiller, %damageType, %
Parent::onClientKilled(%game, %clVictim, %clKiller, %damageType, %implement, %damageLocation); Parent::onClientKilled(%game, %clVictim, %clKiller, %damageType, %implement, %damageLocation);
// call the function // call the function
if(!$Host::TournamentMode && $Host::ClassicEvoStats) if(!$Host::TournamentMode && $Host::ClassicEvoStats)
handleKillStat(%data, %targetObject, %sourceObject, %position, %amount, %damageType, %momVec, %mineSC); handleKillStat(%game, %clVictim, %clKiller, %damageType, %implement, %damageLocation);
} }
function ProjectileData::onCollision(%data, %projectile, %targetObject, %modifier, %position, %normal) function ProjectileData::onCollision(%data, %projectile, %targetObject, %modifier, %position, %normal)
@ -208,7 +208,7 @@ function handleKillStat(%game, %clVictim, %clKiller, %damageType, %implement, %d
if($stats::tk[%clKiller] > $stats::tk_counter) if($stats::tk[%clKiller] > $stats::tk_counter)
{ {
$stats::tk_counter = $stats::tk[%clKiller]; $stats::tk_counter = $stats::tk[%clKiller];
$stats::tk_client = getTaggedString(%clKiller.name); $stats::tk_client = getTaggedString(%clKiller.name);
} }
} }