This commit is contained in:
kremsy committed 2017-05-09 18:59:26 +02:00
1 parent d6620cacc9
commit 05f688b99f
1 file changed
+2 -2
@@ -33,8 +33,8 @@ class OnShotDenyStructure extends BaseTimeStructure {
parent::__construct($maniaControl, $data);
$jsonObj = $this->getPlainJsonObject();
$this->shooterWeapon = $jsonObj->victim;
$this->victimWeapon = $jsonObj->damage;
$this->shooterWeapon = $jsonObj->shooterweapon;
$this->victimWeapon = $jsonObj->victimweapon;
$this->shooter = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->shooter);
$this->victim = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->victim);