aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Commands
diff options
context:
space:
mode:
authorJeremy <Golrag@users.noreply.github.com>2023-06-01 02:33:46 +0200
committerGitHub <noreply@github.com>2023-06-01 02:33:46 +0200
commitc1df555e1691d788918845f95252358f25e54bb5 (patch)
tree81d3d1ee68e1bde92495e59b6fa3b30294593eaa /src/server/scripts/Commands
parentb8b416f85d50cc9849e4cba7d62681f6ae60be31 (diff)
Core/Graveyards: Drop Faction column and replace it with conditions (#28965)
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r--src/server/scripts/Commands/cs_misc.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp
index 3f2f8416699..e3722ad370d 100644
--- a/src/server/scripts/Commands/cs_misc.cpp
+++ b/src/server/scripts/Commands/cs_misc.cpp
@@ -1020,7 +1020,7 @@ public:
return false;
}
- if (sObjectMgr->AddGraveyardLink(graveyardId, zoneId, team))
+ if (sObjectMgr->AddGraveyardLink(graveyardId, zoneId, team, true))
handler->PSendSysMessage(LANG_COMMAND_GRAVEYARDLINKED, graveyardId, zoneId);
else
handler->PSendSysMessage(LANG_COMMAND_GRAVEYARDALRLINKED, graveyardId, zoneId);
@@ -1057,8 +1057,6 @@ public:
return false;
}
- team = data->team;
-
std::string team_name = handler->GetTrinityString(LANG_COMMAND_GRAVEYARD_NOTEAM);
if (team == 0)