Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Fix #11
Browse files Browse the repository at this point in the history
  • Loading branch information
ipad54 authored Aug 18, 2020
1 parent 962bba7 commit 6772674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sp/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public function getWinner(string $level): void
}
if(isset($this->armor[$winner->getName()]))
{
$winner->getArmorInventory()->setContents($this->armor[$p->getName()]);
$winner->getArmorInventory()->setContents($this->armor[$winner->getName()]);
}
unset($this->armor[$winner->getName()]);
unset($this->inventory[$winner->getName()]);
Expand Down

0 comments on commit 6772674

Please sign in to comment.