mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
Use a different way to determine zone loaded
This commit is contained in:
parent
c23f0eaefb
commit
b8c41c9e9a
@ -733,7 +733,7 @@ void EQEmuApiZoneDataService::get(Json::Value &response, const std::vector<std::
|
||||
{
|
||||
std::string method = args[0];
|
||||
|
||||
if (!zone->IsLoaded()) {
|
||||
if (zone->GetZoneID() > 0) {
|
||||
response["error"] = "Zone must be loaded to invoke calls";
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user