mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 06:48:20 +00:00
Don't set member offline before linkdead
This prevents toggling to offline state before setting to and from linkdead status. Without this change, a new expedition leader will be chosen as soon as the current leader goes linkdead. On live an expedition leader retains leadership while linkdead
This commit is contained in:
+1
-1
@@ -738,7 +738,7 @@ public:
|
||||
|
||||
bool TGB() const { return tgb; }
|
||||
|
||||
void OnDisconnect(bool hard_disconnect);
|
||||
void OnDisconnect(bool hard_disconnect, bool linkdead = false);
|
||||
|
||||
uint16 GetSkillPoints() { return m_pp.points;}
|
||||
void SetSkillPoints(int inp) { m_pp.points = inp;}
|
||||
|
||||
Reference in New Issue
Block a user