1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-13 10:11:50 +00:00

fix minor issues

This commit is contained in:
Sense101 2022-01-20 19:48:03 +00:00
parent f3a65812a9
commit c86416cf79
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;