This commit is contained in:
aozhiwei 2021-08-27 02:00:47 +00:00
parent a379893fe5
commit 438cc7f3af

View File

@ -1199,7 +1199,7 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
} else if (cmd == "infinite_bullet_mode") {
room->SetInfiniteBulletMode();
} else if (cmd == "watchwar") {
Human* target = room->GetWatchWarTarget(hum);
Human* target = room->GetWatchWarTarget(this);
if (target) {
FollowTarget(target);
target->StartRefreshViewTimer();