diff options
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 9bbd48e1862..cbd5003e12b 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -16036,7 +16036,8 @@ void Player::ResetInstances(uint8 method) // if the map is loaded, reset it Map *map = MapManager::Instance().FindMap(p->GetMapId(), p->GetInstanceId()); if(map && map->IsDungeon()) - ((InstanceMap*)map)->Reset(method); + if(!((InstanceMap*)map)->Reset(method)) + continue; // since this is a solo instance there should not be any players inside if(method == INSTANCE_RESET_ALL || method == INSTANCE_RESET_CHANGE_DIFFICULTY) |