Fixed action bar not clearing early when changing ship
This commit is contained in:
parent
9543bb0452
commit
d5b3b79a29
|
@ -87,6 +87,12 @@ module TK.SpaceTac.UI {
|
|||
icons.forEach(icon => icon.refresh());
|
||||
}
|
||||
}
|
||||
} else if (diff instanceof ShipChangeDiff) {
|
||||
return {
|
||||
background: async () => {
|
||||
this.setShip(null);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
return {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue