diff --git a/src/Locations/ui/CompanyLocation.tsx b/src/Locations/ui/CompanyLocation.tsx index 7b6ef6a92..63777600e 100644 --- a/src/Locations/ui/CompanyLocation.tsx +++ b/src/Locations/ui/CompanyLocation.tsx @@ -107,6 +107,8 @@ export class CompanyLocation extends React.Component { employedHere: false, } + this.props.p.location = props.locName; + this.checkIfEmployedHere(false); } diff --git a/src/PersonObjects/Player/PlayerObjectGeneralMethods.jsx b/src/PersonObjects/Player/PlayerObjectGeneralMethods.jsx index f3b76e9d9..4ee9c6204 100644 --- a/src/PersonObjects/Player/PlayerObjectGeneralMethods.jsx +++ b/src/PersonObjects/Player/PlayerObjectGeneralMethods.jsx @@ -1742,6 +1742,7 @@ export function applyForJob(entryPosType, sing=false) { } this.jobs[company.name] = pos.name; + this.companyName = this.location; document.getElementById("world-menu-header").click(); document.getElementById("world-menu-header").click();