diff --git a/src/js/game/game_system_manager.js b/src/js/game/game_system_manager.js index f39089a6..0239abf7 100644 --- a/src/js/game/game_system_manager.js +++ b/src/js/game/game_system_manager.js @@ -145,7 +145,7 @@ export class GameSystemManager { // Order is important! // IMPORTANT: Item acceptor must be before the belt, because it may not tick after the belt - // has put in the item into the acceptor animqation, otherwise its off + // has put in the item into the acceptor animation, otherwise its off add("itemAcceptor", ItemAcceptorSystem); add("belt", BeltSystem); diff --git a/src/js/game/hub_goals.js b/src/js/game/hub_goals.js index 1064ad55..c1b2a4e4 100644 --- a/src/js/game/hub_goals.js +++ b/src/js/game/hub_goals.js @@ -571,7 +571,7 @@ export class HubGoals extends BasicSerializableObject { */ getProcessingSpeed(processorType) { const time = this.getProcessingTime(processorType); - if (time == 0) { + if (!time) { return this.getBeltBaseSpeed(); } return 1 / time;