Fixed issue with Faction page formatting. Script.reset() now re-updated RAM usage

This commit is contained in:
Daniel Xie 2017-06-03 23:56:18 -05:00
parent ce8257fb0c
commit 0d90479097
3 changed files with 6 additions and 4 deletions

@ -299,7 +299,8 @@ background-color: #555;
padding-left: 10px; padding-left: 10px;
height: 100%; height: 100%;
margin-left: 10%; margin-left: 10%;
width: 90%; width: 99%;
overflow: auto;
overflow-y: auto; overflow-y: auto;
} }
@ -308,8 +309,6 @@ background-color: #555;
margin: 6px; margin: 6px;
} }
#faction-hack-div, #faction-hack-div,
#faction-fieldwork-div, #faction-fieldwork-div,
#faction-securitywork-div, #faction-securitywork-div,

@ -516,12 +516,13 @@
</div> </div>
<p> <p>
<br><br><br> <br>
As your reputation with this faction rises, you will unlock Augmentations, which you As your reputation with this faction rises, you will unlock Augmentations, which you
can purchase to enhance your abilities. can purchase to enhance your abilities.
<br><br> <br><br>
</p> </p>
<a id="faction-purchase-augmentations" class="a-link-button">Purchase Augmentations</a> <a id="faction-purchase-augmentations" class="a-link-button">Purchase Augmentations</a>
<br><br><br><br>
</div> </div>
<div id="faction-augmentations-container"> <div id="faction-augmentations-container">

@ -150,6 +150,8 @@ Script.prototype.saveScript = function() {
} }
Script.prototype.reset = function() { Script.prototype.reset = function() {
this.updateRamUsage();
this.offlineRunningTime = 0.01; //Seconds this.offlineRunningTime = 0.01; //Seconds
this.offlineMoneyMade = 0; this.offlineMoneyMade = 0;
this.offlineExpGained = 0; this.offlineExpGained = 0;