Core/Battlefield: revert part of previous commit and correctly fix .bf stop crashing
This commit is contained in:
1 parent
29343947e9
commit
e9323b2c2d
2 files changed
+2
-2
No files matched your search
@@ -83,7 +83,7 @@ public:
|
||||
|
||||
Battlefield* bf = sBattlefieldMgr->GetBattlefieldByBattleId(battleid);
|
||||
|
||||
if (!bf)
|
||||
if (!bf || !bf->IsWarTime())
|
||||
return false;
|
||||
|
||||
bf->EndBattle(true);
|
||||
|
||||
Reference in new issue
Block a user