Core/Battlefield: revert part of previous commit and correctly fix .bf stop crashing

This commit is contained in:
Kandera committed 2012-08-20 13:48:50 -04:00
1 parent 29343947e9
commit e9323b2c2d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ public:
Battlefield* bf = sBattlefieldMgr->GetBattlefieldByBattleId(battleid);
if (!bf)
if (!bf || !bf->IsWarTime())
return false;
bf->EndBattle(true);