mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-30 18:01:17 +00:00
Remove unnecessary casts
This commit is contained in:
@@ -177,7 +177,6 @@ export class FakeHumanExecution implements Execution {
|
||||
|
||||
const enemies = enemiesWithTN
|
||||
.filter((o) => o.isPlayer())
|
||||
.map((o) => o as Player)
|
||||
.sort((a, b) => a.troops() - b.troops());
|
||||
|
||||
if (this.random.chance(20)) {
|
||||
|
||||
Reference in New Issue
Block a user