mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
Fix React list without keys, fix int miscalculation of blade skills.
This commit is contained in:
parent
9af9bf58b6
commit
fa78b3f421
@ -969,6 +969,7 @@ export class Bladeburner implements IBladeburner {
|
||||
effDex: 1,
|
||||
effAgi: 1,
|
||||
effCha: 1,
|
||||
effInt: 1,
|
||||
stamina: 1,
|
||||
money: 1,
|
||||
expGain: 1,
|
||||
|
@ -124,7 +124,7 @@ export class Skill {
|
||||
if(name === "stamina") return this.stamina;
|
||||
if(name === "money") return this.money;
|
||||
if(name === "expGain") return this.expGain;
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ export function TravelPopup(props: IProps): React.ReactElement {
|
||||
{BladeburnerConstants.CityNames.map(city =>
|
||||
// Reusing this css class...it adds a border and makes it
|
||||
// so that background color changes when you hover
|
||||
<div className="cmpy-mgmt-find-employee-option"
|
||||
<div key={city} className="cmpy-mgmt-find-employee-option"
|
||||
onClick={() => travel(city)}>
|
||||
{city}
|
||||
</div>)}
|
||||
|
Loading…
Reference in New Issue
Block a user