Made break mode get set to 'none' when collapsing

This commit is contained in:
Anuken
2018-02-26 19:10:15 -05:00
parent 13e592a758
commit 00c204b589
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#Autogenerated file. Do not modify.
#Mon Feb 26 18:01:50 EST 2018
#Mon Feb 26 19:08:43 EST 2018
version=release
androidBuildCode=291
androidBuildCode=292
name=Mindustry
code=3.3
build=custom build

View File

@ -214,6 +214,7 @@ public class PlacementFragment implements Fragment{
breaktable.getParent().swapActor(breaktable, next);
if(!show){
control.input().breakMode = PlaceMode.none;
breaktable.actions(Actions.translateBy(-breaktable.getWidth() - 5, 0, dur, in), Actions.call(() -> shown = false));
}else{
shown = true;