Most console.log have been changed to console.warn or removed if they were debug

This commit is contained in:
Olivier Gagnon
2021-03-07 22:46:50 -05:00
parent 56a3660d38
commit 316a1aa475
19 changed files with 64 additions and 95 deletions
-3
View File
@@ -1079,7 +1079,6 @@ const Engine = {
// Process offline progress
var offlineProductionFromScripts = loadAllRunningScripts(); // This also takes care of offline production for those scripts
if (Player.isWorking) {
console.log("work() called in load() for " + numCyclesOffline * Engine._idleSpeed + " milliseconds");
if (Player.workType == CONSTANTS.WorkTypeFaction) {
Player.workForFaction(numCyclesOffline);
} else if (Player.workType == CONSTANTS.WorkTypeCreateProgram) {
@@ -1180,7 +1179,6 @@ const Engine = {
Engine.closeMainMenuHeader(visibleMenuTabs);
} else {
// No save found, start new game
console.log("Initializing new game");
initBitNodeMultipliers(Player);
initSpecialServerIps();
Engine.setDisplayElements(); // Sets variables for important DOM elements
@@ -1525,7 +1523,6 @@ const Engine = {
// DEBUG Delete active Scripts on home
document.getElementById("debug-delete-scripts-link").addEventListener("click", function() {
console.log("Deleting running scripts on home computer");
Player.getHomeComputer().runningScripts = [];
dialogBoxCreate("Forcefully deleted all running scripts on home computer. Please save and refresh page");
gameOptionsBoxClose();