1
This commit is contained in:
parent
48c994270f
commit
04506acb20
@ -51,6 +51,7 @@ void CustomBattle::ParseResult(a8::XObject& obj)
|
|||||||
map_id_ = obj.Get("map_id");
|
map_id_ = obj.Get("map_id");
|
||||||
match_mode_ = obj.Get("match_mode");
|
match_mode_ = obj.Get("match_mode");
|
||||||
start_time_ = obj.Get("start_time");
|
start_time_ = obj.Get("start_time");
|
||||||
|
is_newbie_battle_ = obj.Get("is_newbie_battle");
|
||||||
sign_ = obj.Get("sign").GetString();
|
sign_ = obj.Get("sign").GetString();
|
||||||
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()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user