mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 12:32:17 +00:00
[Performance] Character Save Optimizations (#4851)
This commit is contained in:
1 parent
50ad97aa0b
commit
b883888a19
5 files changed
+24
-3
No files matched your search
+5
-1
@@ -4621,8 +4621,12 @@ void Mob::SetZone(uint32 zone_id, uint32 instance_id)
|
||||
{
|
||||
CastToClient()->GetPP().zone_id = zone_id;
|
||||
CastToClient()->GetPP().zoneInstance = instance_id;
|
||||
CastToClient()->SaveCharacterData();
|
||||
}
|
||||
|
||||
if (!IsClient()) {
|
||||
Save(); // bots or other things might be covered here for some reason
|
||||
}
|
||||
Save();
|
||||
}
|
||||
|
||||
void Mob::Kill() {
|
||||
|
||||
Reference in new issue
Block a user