mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
Fixed some typos in Location.js, began initLocationbuttons() function
This commit is contained in:
parent
007d4436c9
commit
746a10eecf
@ -346,6 +346,7 @@
|
||||
|
||||
<!-- Location (visiting a location in World) -->
|
||||
<div id="location-container">
|
||||
<a href="#" id="location-return-to-world-button" class="a-link-button"> Return to World </a>
|
||||
<h1 id="location-name"></h1>
|
||||
<p id="location-info"> </p>
|
||||
|
||||
|
@ -216,7 +216,7 @@ var Engine = {
|
||||
loadLocationContent: function() {
|
||||
Engine.hideAllContent();
|
||||
Engine.Display.locationContent.style.visibility = "visible";
|
||||
displayLocationContent(Player.location);
|
||||
displayLocationContent();
|
||||
|
||||
Engine.currentPage = Engine.Page.Location;
|
||||
},
|
||||
@ -277,27 +277,27 @@ var Engine = {
|
||||
switch(Player.city) {
|
||||
case Locations.Aevum:
|
||||
Engine.aevumLocationsList.style.display = "inline";
|
||||
Engine.aevumLocationsList.style.visibility = "visible";
|
||||
//Engine.aevumLocationsList.style.visibility = "visible";
|
||||
break;
|
||||
case Locations.Chongqing:
|
||||
Engine.chongqingLocationsList.style.display = "inline";
|
||||
Engine.chongqingLocationsList.style.visibility = "visible";
|
||||
//Engine.chongqingLocationsList.style.visibility = "visible";
|
||||
break;
|
||||
case Locations.Sector12:
|
||||
Engine.sector12LocationsList.style.display = "inline";
|
||||
Engine.sector12LocationsList.style.visibility = "visible";
|
||||
//Engine.sector12LocationsList.style.visibility = "visible";
|
||||
break;
|
||||
case Locations.NewTokyo:
|
||||
Engine.newTokyoLocationsList.style.display = "inline";
|
||||
Engine.newTokyoLocationsList.style.visibility = "visible";
|
||||
//Engine.newTokyoLocationsList.style.visibility = "visible";
|
||||
break;
|
||||
case Locations.Ishima:
|
||||
Engine.ishimaLocationsList.style.display = "inline";
|
||||
Engine.ishimaLocationsList.style.visibility = "visible";
|
||||
//Engine.ishimaLocationsList.style.visibility = "visible";
|
||||
break;
|
||||
case Locations.Volhaven:
|
||||
Engine.volhavenLocationsList.style.display = "inline";
|
||||
Engine.volhavenLocationsList.style.visibility = "visible";
|
||||
//Engine.volhavenLocationsList.style.visibility = "visible";
|
||||
break;
|
||||
default:
|
||||
console.log("Invalid city value in Player object!");
|
||||
|
Loading…
Reference in New Issue
Block a user