mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Merge commit 'origin/master' into 320
This commit is contained in:
commit
54cc2dcb53
16 changed files with 486 additions and 38 deletions
|
|
@ -1526,7 +1526,7 @@ void Group::ResetInstances(uint8 method, Player* SendMsgTo)
|
|||
bool isEmpty = true;
|
||||
// if the map is loaded, reset it
|
||||
Map *map = MapManager::Instance().FindMap(p->GetMapId(), p->GetInstanceId());
|
||||
if(map && map->IsDungeon())
|
||||
if(map && map->IsDungeon() && !(method == INSTANCE_RESET_GROUP_DISBAND && !p->CanReset()))
|
||||
isEmpty = ((InstanceMap*)map)->Reset(method);
|
||||
|
||||
if(SendMsgTo)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue