mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-14 01:10:08 +00:00
Buddy code cleanup
- Get rid of buddyCnt, self-nullptr checks, and redundant playermap loops in chat handlers - Add helper function to find available buddy slot - Reorganize a bit
This commit is contained in:
@@ -71,6 +71,5 @@ struct Player {
|
||||
|
||||
bool notify;
|
||||
|
||||
int buddyCnt;
|
||||
int64_t buddyIDs[50];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user