Refactor group handling

This commit is contained in:
gsemaj
2022-07-30 17:43:17 -07:00
parent dc6386131a
commit 0dfcc928a9
6 changed files with 175 additions and 174 deletions

View File

@@ -802,7 +802,7 @@ static void playerTick(CNServer *serv, time_t currTime) {
// group ticks
if (plr->group != nullptr)
Groups::groupTickInfo(plr);
Groups::groupTickInfo(sock);
// do not tick dead players
if (plr->HP <= 0)