mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-23 06:49:37 +00:00
Fix
This commit is contained in:
@@ -892,7 +892,7 @@ export class PlayerImpl implements Player {
|
||||
return false;
|
||||
}
|
||||
const unit = existing[0].unit;
|
||||
if (!this.canUpgradeUnit(unit, skipUnitTypeCheck)) {
|
||||
if (!this.canUpgradeUnit(unit, true)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user