Commit 450555e6 authored by fallenstardust's avatar fallenstardust

tweak

parent 380a5353
...@@ -1895,9 +1895,7 @@ bool ClientField::OnCommonEvent(const irr::SEvent& event) { ...@@ -1895,9 +1895,7 @@ bool ClientField::OnCommonEvent(const irr::SEvent& event) {
mainGame->imgChat->setImage(imageManager.tShut); mainGame->imgChat->setImage(imageManager.tShut);
} }
mainGame->chkIgnore1->setChecked(mainGame->gameConf.chkIgnore1); mainGame->chkIgnore1->setChecked(mainGame->gameConf.chkIgnore1);
bool show = mainGame->is_building ? false : !mainGame->chkIgnore1->isChecked(); bool show = (!mainGame->dInfo.isStarted || mainGame->is_building) ? false : !mainGame->chkIgnore1->isChecked();
if (!mainGame->dInfo.isStarted)
show = false;
mainGame->wChat->setVisible(show); mainGame->wChat->setVisible(show);
if(!show) if(!show)
mainGame->ClearChatMsg(); mainGame->ClearChatMsg();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment