1
0
Fork 0

Fixed action bar not clearing early when changing ship

This commit is contained in:
Michaël Lemaire 2017-12-04 20:09:51 +01:00
parent 9543bb0452
commit d5b3b79a29

View file

@ -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 {}
}