Fix case where resplen wasn't being initialized

This commit is contained in:
Gent S
2020-11-25 21:33:57 -05:00
parent 166eb5125f
commit c2ab5c9d02
2 changed files with 8 additions and 20 deletions

View File

@@ -364,9 +364,6 @@ void GroupManager::groupUnbuff(Player* plr) {
Player* otherPlr = PlayerManager::getPlayerFromID(plr->groupIDs[i]);
CNSocket* sock = PlayerManager::getSockFromID(plr->groupIDs[n]);
if (otherPlr == nullptr || sock == nullptr)
continue;
NanoManager::applyBuff(sock, otherPlr->Nanos[otherPlr->activeNano].iSkillID, 2, 1, 0);
}
}