This commit is contained in:
aozhiwei 2021-06-18 11:39:53 +08:00
parent f1cd20be5a
commit 89a89e90cb

View File

@ -184,6 +184,14 @@ void Obstacle::FillMFObjectFull(Room* room, Human* hum, cs::MFObjectFull* full_d
} else {
p->set_button_name("躲藏");
}
} else {
if (IsOpenInteraction()) {
if (IsDead(hum->room)) {
p->set_button_name("");
} else {
p->set_button_name("开启");
}
}
}
}