cb fix
This commit is contained in:
parent
d6620cacc9
commit
05f688b99f
@ -33,8 +33,8 @@ class OnShotDenyStructure extends BaseTimeStructure {
|
|||||||
parent::__construct($maniaControl, $data);
|
parent::__construct($maniaControl, $data);
|
||||||
|
|
||||||
$jsonObj = $this->getPlainJsonObject();
|
$jsonObj = $this->getPlainJsonObject();
|
||||||
$this->shooterWeapon = $jsonObj->victim;
|
$this->shooterWeapon = $jsonObj->shooterweapon;
|
||||||
$this->victimWeapon = $jsonObj->damage;
|
$this->victimWeapon = $jsonObj->victimweapon;
|
||||||
|
|
||||||
$this->shooter = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->shooter);
|
$this->shooter = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->shooter);
|
||||||
$this->victim = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->victim);
|
$this->victim = $this->maniaControl->getPlayerManager()->getPlayer($this->getPlainJsonObject()->victim);
|
||||||
|
Loading…
Reference in New Issue
Block a user