mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 16:14:35 +00:00
Oops
Wrong vars
This commit is contained in:
parent
10c9c310e9
commit
7477a11c2f
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue