1
This commit is contained in:
parent
1d02970da1
commit
5e186ae2ac
@ -53,9 +53,6 @@ void CustomBattle::ParseResult(a8::XObject& obj)
|
|||||||
start_time_ = obj.Get("start_time");
|
start_time_ = obj.Get("start_time");
|
||||||
is_newbie_battle_ = obj.Get("is_newbie_battle");
|
is_newbie_battle_ = obj.Get("is_newbie_battle");
|
||||||
sign_ = obj.Get("sign").GetString();
|
sign_ = obj.Get("sign").GetString();
|
||||||
#ifdef MYDEBUG
|
|
||||||
is_newbie_battle_ = 1;
|
|
||||||
#endif
|
|
||||||
const mt::Map* map_meta = mt::Map::GetById(map_id_);
|
const mt::Map* map_meta = mt::Map::GetById(map_id_);
|
||||||
if (!map_meta || !map_meta->IsOpen()) {
|
if (!map_meta || !map_meta->IsOpen()) {
|
||||||
parse_ok_ = false;
|
parse_ok_ = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user