1
This commit is contained in:
parent
9196746e6c
commit
ec91ab85fe
@ -118,7 +118,7 @@ void Android::InternalUpdate(int delta_time)
|
||||
}
|
||||
}
|
||||
#ifdef DEBUG
|
||||
if (!Global::Instance()->stop_world) {
|
||||
if (!room->stop_world) {
|
||||
agent_->Exec();
|
||||
}
|
||||
#else
|
||||
|
@ -1075,9 +1075,9 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
|
||||
TEXT("battle_server_killer_gas", "毒圈"),
|
||||
dmg_out);
|
||||
} else if (cmd == "stop_world") {
|
||||
Global::Instance()->stop_world = true;
|
||||
room->stop_world = true;
|
||||
} else if (cmd == "start_world") {
|
||||
Global::Instance()->stop_world = false;
|
||||
room->stop_world = false;
|
||||
} else if (cmd == "add_hp") {
|
||||
if (cmds.size() > 1) {
|
||||
float hp = a8::XValue(cmds[1]).GetDouble();
|
||||
|
@ -70,6 +70,7 @@ public:
|
||||
const mt::PveGemini* pve_instance = nullptr;
|
||||
int pve_human_num = 0;
|
||||
PveData pve_data;
|
||||
bool stop_world = false;
|
||||
|
||||
~Room();
|
||||
void InitData(RoomInitInfo& init_info);
|
||||
|
Loading…
x
Reference in New Issue
Block a user