Reset Location Upon Reset

This commit is contained in:
Thomas B 2022-02-03 08:50:08 -05:00 committed by GitHub
parent 9ddb1c4379
commit c6573fb19d
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 {
// Reset exp
@ -454,6 +454,10 @@ export class Sleeve extends Person {
this.augmentations = [];
this.resetMultipliers();
// Reset Location
this.city=CityName.Sector12;
// Reset sleeve-related stats
this.shock = 1;
this.storedCycles = 0;