bugfix: nuking yourself makes you a traitor

This commit is contained in:
Evan
2024-11-25 14:08:24 -08:00
parent 6fd35b00cd
commit a1b1c5959c
3 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -80,7 +80,9 @@ export class NukeExecution implements Execution {
const mp = this.mg.player(owner.id())
mp.relinquish(tile)
mp.removeTroops(ratio[mp.id()])
others.add(mp)
if (owner != this.player) {
others.add(mp)
}
}
}
for (const other of others) {