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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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