don't eat keys while building is being renamed

allows buildingplan to prevent unsuspension of planned buildings without
also eating the 's' key when the user is trying to use it to give the
building a custom name.
develop
myk002 2020-11-11 17:12:56 -08:00
parent 421844dcb8
commit 54702085d5
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 1 deletions

@ -431,7 +431,7 @@ struct buildingplan_query_hook : public df::viewscreen_dwarfmodest
bool handleInput(set<df::interface_key> *input)
{
if (!isInPlannedBuildingQueryMode())
if (!isInPlannedBuildingQueryMode() || Gui::inRenameBuilding())
return false;
initStatics();