mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
[Code] PlayerEventLogs Global to Singleton Cleanup (#4928)
* [Code] PlayerEventLogs Global to Singleton Cleanup * Fix --------- Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
+1
-1
@@ -241,7 +241,7 @@ void Client::Handle_OP_ZoneChange(const EQApplicationPacket *app) {
|
||||
}
|
||||
}
|
||||
|
||||
if (player_event_logs.IsEventEnabled(PlayerEvent::ZONING)) {
|
||||
if (PlayerEventLogs::Instance()->IsEventEnabled(PlayerEvent::ZONING)) {
|
||||
auto e = PlayerEvent::ZoningEvent{};
|
||||
e.from_zone_long_name = zone->GetLongName();
|
||||
e.from_zone_short_name = zone->GetShortName();
|
||||
|
||||
Reference in New Issue
Block a user