Merge pull request #1424 from danielyxie/dev

corp bonus time consumes faster
This commit is contained in:
hydroflame 2021-10-06 02:35:56 -04:00 committed by GitHub
commit 997c746d78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -238,11 +238,10 @@ const Engine: {
Engine.Counters.messages = 150; Engine.Counters.messages = 150;
} }
} }
if (Player.corporation instanceof Corporation) {
Player.corporation.process(Player);
}
if (Engine.Counters.mechanicProcess <= 0) { if (Engine.Counters.mechanicProcess <= 0) {
if (Player.corporation instanceof Corporation) {
Player.corporation.process(Player);
}
if (Player.bladeburner instanceof Bladeburner) { if (Player.bladeburner instanceof Bladeburner) {
try { try {
Player.bladeburner.process(Router, Player); Player.bladeburner.process(Router, Player);