mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
City hall no longer just has nothing when you can't create corp
This commit is contained in:
parent
4ec14460b6
commit
de113a7b92
@ -108,7 +108,11 @@ export class SpecialLocation extends React.Component<IProps, IState> {
|
||||
}
|
||||
|
||||
renderCreateCorporation(): React.ReactNode {
|
||||
if (!this.props.p.canAccessCorporation()) { return null; }
|
||||
if (!this.props.p.canAccessCorporation()) {
|
||||
return <>
|
||||
<p><i>A business man is yelling at a clerk. You should come back later.</i></p>
|
||||
</>;
|
||||
}
|
||||
return (
|
||||
<AutoupdatingStdButton
|
||||
disabled={!this.props.p.canAccessCorporation() || this.props.p.hasCorporation()}
|
||||
|
Loading…
Reference in New Issue
Block a user