mirror of https://github.com/bra1n/townsquare.git
fix another voting bug
This commit is contained in:
parent
d41eafda07
commit
d916da41aa
|
@ -135,7 +135,7 @@ export default {
|
|||
}
|
||||
},
|
||||
nominatePlayer(from, to) {
|
||||
if (to === undefined && from !== this.nominate) {
|
||||
if (to === undefined) {
|
||||
this.cancel();
|
||||
if (from !== this.nominate) {
|
||||
this.nominate = from;
|
||||
|
|
Loading…
Reference in New Issue