mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
[Bug Fix] Adjustment for nullptr crash (#2232)
This commit is contained in:
parent
291aaea581
commit
a45117cd04
@ -2737,13 +2737,12 @@ std::string Zone::GetZoneDescription()
|
||||
{
|
||||
if (!IsLoaded()) {
|
||||
return fmt::format(
|
||||
"{} PID ({})",
|
||||
IsStaticZone() ? "Static" : "Dynamic",
|
||||
"PID ({})",
|
||||
EQ::GetPID()
|
||||
);
|
||||
}
|
||||
|
||||
auto d = fmt::format(
|
||||
return fmt::format(
|
||||
"{} ({}){}{}",
|
||||
GetLongName(),
|
||||
GetZoneID(),
|
||||
@ -2764,8 +2763,6 @@ std::string Zone::GetZoneDescription()
|
||||
""
|
||||
)
|
||||
);
|
||||
|
||||
return d;
|
||||
}
|
||||
|
||||
void Zone::SendReloadMessage(std::string reload_type)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user