Cap Staneks Gift at 25x25

This commit is contained in:
Thomas B
2022-03-21 12:44:26 -04:00
committed by GitHub
parent ca02bdefd1
commit a57042276b

View File

@ -19,7 +19,7 @@ export class StaneksGift implements IStaneksGift {
fragments: ActiveFragment[] = [];
baseSize(): number {
return StanekConstants.BaseSize + BitNodeMultipliers.StaneksGiftExtraSize + Player.sourceFileLvl(13);
return Math.min(StanekConstants.BaseSize + BitNodeMultipliers.StaneksGiftExtraSize + Player.sourceFileLvl(13), StanekConstants.MaxSize);
}
width(): number {