Merge pull request #2906 from waffleattack/patch-2

Reset Location Upon Reset
This commit is contained in:
hydroflame 2022-03-01 10:44:15 -05:00 committed by GitHub
commit 3a0eb8eca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -433,7 +433,7 @@ export class Sleeve extends Person {
} }
/** /**
* Called on every sleeve for a Source File prestige * Called on every sleeve for a Source File Prestige
*/ */
prestige(p: IPlayer): void { prestige(p: IPlayer): void {
// Reset exp // Reset exp
@ -454,6 +454,10 @@ export class Sleeve extends Person {
this.augmentations = []; this.augmentations = [];
this.resetMultipliers(); this.resetMultipliers();
// Reset Location
this.city=CityName.Sector12;
// Reset sleeve-related stats // Reset sleeve-related stats
this.shock = 1; this.shock = 1;
this.storedCycles = 0; this.storedCycles = 0;