mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
add .debug bg to allow starting a battleground with just one player
it's implemented like .debug arena - so you toggle debug bg on or off
This commit is contained in:
parent
3c38b4d3e6
commit
78a6d084bc
5 changed files with 22 additions and 1 deletions
|
|
@ -521,6 +521,12 @@ bool ChatHandler::HandleGetItemState(const char* args)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleDebugBattlegroundCommand(const char * /*args*/)
|
||||
{
|
||||
sBattleGroundMgr.ToggleTesting();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleDebugArenaCommand(const char * /*args*/)
|
||||
{
|
||||
sBattleGroundMgr.ToggleArenaTesting();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue