public function mergeParty(SR_Party $p) { foreach ($p->getMembers() as $player) { $p->kickUser($player, true); $this->addUser($player, false); $player->saveVar('sr4pl_partyid', $this->getID()); } $this->updateMembers(); $this->recomputeEnums(); }