Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
style: Fix lint noise
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Jul 17, 2021
1 parent 863caad commit 0a20b75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/userscript/source/Engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,7 @@ export class Engine {
aqueductMeta.stage = 1;

// TODO: Why do we do this for the aqueduct and not for the pasture?
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
aqueductMeta.calculateEffects!(aqueductMeta, this._host.gamePage);

this._host.iactivity("upgrade.building.aqueduct", [], "ks-upgrade");
Expand Down Expand Up @@ -1361,6 +1362,7 @@ export class Engine {
libraryMeta.on = 0;
libraryMeta.val = 0;
libraryMeta.stage = 1;
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
libraryMeta.calculateEffects!(libraryMeta, this._host.gamePage);
this._host.iactivity("upgrade.building.library", [], "ks-upgrade");
this._host.gamePage.ui.render();
Expand Down

0 comments on commit 0a20b75

Please sign in to comment.