mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
more reliable kills hopefully
This commit is contained in:
parent
0ab21a90a4
commit
b9e7c71e2c
1 changed files with 3 additions and 3 deletions
|
|
@ -92,9 +92,9 @@ class DemoSaver {
|
||||||
$this->killProvider->store(new Kill(
|
$this->killProvider->store(new Kill(
|
||||||
0,
|
0,
|
||||||
$demoId,
|
$demoId,
|
||||||
$userMap[$kill->getAttackerDemoId()],
|
$userMap[$kill->getAttackerDemoId()] ?? 0,
|
||||||
$userMap[$kill->getAssisterDemoId()],
|
$userMap[$kill->getAssisterDemoId()] ?? 0,
|
||||||
$userMap[$kill->getVictimDemoId()],
|
$userMap[$kill->getVictimDemoId()] ?? 0,
|
||||||
$kill->getWeapon()
|
$kill->getWeapon()
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue