1
0
Fork 0

Do not trigger "end turn" action with its number shortcut

This commit is contained in:
Michaël Lemaire 2017-03-15 01:24:26 +01:00
parent 55a11e521a
commit f1ab82eb25

View file

@ -105,7 +105,7 @@ module TS.SpaceTac.UI {
if (this.interactive) {
if (position < 0) {
this.action_icons[this.action_icons.length - 1].processClick();
} else if (position < this.action_icons.length) {
} else if (position < this.action_icons.length - 1) {
this.action_icons[position].processClick();
}
}