mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-22 02:07:20 +07:00
Fixed #9298
This commit is contained in:
parent
0787cbbb5f
commit
afc2e15c51
@ -1569,7 +1569,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
||||
consumed = true;
|
||||
if((!config.isShown() && build.shouldShowConfigure(player)) //if the config fragment is hidden, show
|
||||
//alternatively, the current selected block can 'agree' to switch config tiles
|
||||
|| (config.isShown() && config.getSelected().onConfigureBuildTapped(build))){
|
||||
|| (config.isShown() && config.getSelected().onConfigureBuildTapped(build) && build.shouldShowConfigure(player))){
|
||||
Sounds.click.at(build);
|
||||
config.showConfig(build);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user